Skip to content

Commit

Permalink
Enable video notifications for mel board WRs
Browse files Browse the repository at this point in the history
  • Loading branch information
NeKzor committed May 23, 2024
1 parent e9298e5 commit 58e9511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ apiV1

try {
if (video.board_changelog_id !== null) {
if (video.board_rank === 1 && video.board_source === BoardSource.Portal2) {
if (video.board_rank === 1) {
logger.info('Sending webhook message for', video.video_id);

const webhook = await fetch(DISCORD_BOARD_INTEGRATION_WEBHOOK_URL, {
Expand Down

0 comments on commit 58e9511

Please sign in to comment.