Skip to content

Commit

Permalink
fix: delete report
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Dec 7, 2024
1 parent 5bb250e commit 99d6fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/features/ReportActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ const ReportAction = ({

const useDeleteMutation = () =>
useMutation(async (id: string) => {
await db.updateTable("report").set({ disabled: 0 }).where("id", "=", id).execute();
await db.updateTable("report").set({ disabled: 1 }).where("id", "=", id).execute();
});

0 comments on commit 99d6fbe

Please sign in to comment.