Explorar el Código

fix lint error

ryoji-s hace 3 años
padre
commit
26f3a38b6a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
-  const remove = useCallback(async(body: { attachmentId: string }) => {
+  const remove = useCallback(async(body: { attachment_id: string }) => {
     try {
       await apiPost('/attachments.remove', body);
       swrResponse.mutate();