Skip to content

Commit

Permalink
fix discord webhook url parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinfuchs committed Apr 25, 2024
1 parent 9947298 commit 1651069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions embedg-app/src/discord/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export function parseWebhookUrl(webhookUrl: string): WebhookInfo | null {
if (match) {
return {
type: "discord",
id: match[1],
token: match[2],
id: match[2],
token: match[3],
};
}

Expand Down

0 comments on commit 1651069

Please sign in to comment.