Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-Santana-j committed Aug 9, 2024
1 parent d72ad72 commit 8b5fa16
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,16 @@ module.exports = {
files: [attachment]
})
let linkImage = await dbres.attachments.first()

try {
console.log(dbres.attachments);
console.log(dbres.attachments[0]);
console.log(dbres.attachment.url);

} catch (error) {
console.log(error);

}

return linkImage.url
}

Expand Down

0 comments on commit 8b5fa16

Please sign in to comment.