Browse Source

fix lint error

ryoji-s 3 years ago
parent
commit
26f3a38b6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/app/src/stores/attachment.tsx

+ 1 - 1
apps/app/src/stores/attachment.tsx

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