Skip to content

Commit

Permalink
Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciaahuang committed Oct 5, 2024
1 parent 3a98726 commit 06a929c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion backend/src/API/imageAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@ export const deleteImage = async (name: string): Promise<void> => {
const imageFile = bucket.file(`${name}.jpg`);
await imageFile.delete();
};

4 changes: 3 additions & 1 deletion frontend/src/API/ImagesAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ export default class ImagesAPI {
}

private static getSignedURL(name: string): Promise<string> {
const responseProm = APIWrapper.get(`${backendURL}/image-signed-url/${name}`).then((res) => res.data);
const responseProm = APIWrapper.get(`${backendURL}/image-signed-url/${name}`).then(
(res) => res.data
);
return responseProm.then((val) => val.url);
}

Expand Down

0 comments on commit 06a929c

Please sign in to comment.