Skip to content

Commit

Permalink
Merge branch 'main' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteLecat committed Jul 24, 2024
2 parents ac60053 + 9a6fabe commit b4ee69b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions functions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ export const onGenerationCreated = functions.runWith({ timeoutSeconds: 160 }).re
expires: '03-09-2491',
});

// Get the public URL of the image
const [url] = await file.getSignedUrl({
action: 'read',
expires: '03-09-2491',
});

generatedImage.uri = url;

//Save image to firestore
Expand Down

0 comments on commit b4ee69b

Please sign in to comment.