@@ -33,7 +33,7 @@ export const useSWRxAttachment = (attachmentId: string): SWRResponseWithUtils<Ut
);
// Utils
- const remove = useCallback(async(body: { attachmentId: string }) => {
+ const remove = useCallback(async(body: { attachment_id: string }) => {
try {
await apiPost('/attachments.remove', body);
swrResponse.mutate();