Skip to content

Commit

Permalink
im dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
bramses committed Sep 27, 2023
1 parent d3a838f commit 56645d8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions share-pic.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ export const sharePic = async (imageUrl, text) => {
const resultTemp = `${Date.now()}.png`;
fs.writeFileSync(resultTemp, buffer);
const verticalResult = await uploadToCloudflare(resultTemp);
console.log(result);
// delete temp files from disk
// deleteFile(dalleFileTemp);
deleteFile(resultTemp);
Expand All @@ -470,7 +469,6 @@ export const sharePic = async (imageUrl, text) => {
const resultTempH = `${Date.now()}.png`;
fs.writeFileSync(resultTempH, bufferH);
const horizontalResult = await uploadToCloudflare(resultTempH);
console.log(result);
// delete temp files from disk
deleteFile(dalleFileTemp);
deleteFile(resultTempH);
Expand Down

0 comments on commit 56645d8

Please sign in to comment.