Skip to content

Commit

Permalink
fix(37010106): remove responseT
Browse files Browse the repository at this point in the history
  • Loading branch information
reinaka committed Sep 10, 2024
1 parent 70ed47a commit c1c90a2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/pkg.popover.add-file/AddFilePopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,18 @@ export const AddFilePopover = ({
const formData = new FormData();
formData.append('image', webpImage);

type responseT = {
const {
data,
status,
}: {
data: {
creator_user_id: number;
id: string;
kind: string;
name: string;
};
status: number;
};

const { data, status }: responseT = await post({
} = await post({
service: 'backend',
path: '/api/protected/storage-service/files/images/',
body: formData,
Expand Down

0 comments on commit c1c90a2

Please sign in to comment.