Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev committed Jul 1, 2023
1 parent 98843e1 commit 46a1e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry-api/endpoints/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ module.exports = async (req, res, client) => {

const channel = client.channels.cache.get(data.channel);

const attachment = new Discord.AttachmentBuilder("../assets/sentry-glyph-light-400x367.png", { name: "sentry.png" })
const attachment = new Discord.AttachmentBuilder("src/sentry-api/assets/sentry-glyph-light-400x367.png", { name: "sentry.png" })

channel.send({ embeds: [embed], components: [actions], files: [attachment] });

Expand Down

0 comments on commit 46a1e78

Please sign in to comment.