Skip to content

Commit

Permalink
Update entrypoint.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMeinerLP authored Jun 14, 2024
1 parent 20cb607 commit e197ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ if (argv._.length === 0 && !process.env.DISCORD_EMBEDS) {
(async () => {
console.log('Sending message ...');
let finalUrl;
if (!threadId) {
finalUrl = `${url}?wait=true&thread_id${threadId}`
if (threadId) {
finalUrl = `${url}?wait=true&thread_id=${threadId}`
} else {
finalUrl = `${url}?wait=true`;
}
Expand Down

0 comments on commit e197ea8

Please sign in to comment.