We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd5c6b commit 55eb203Copy full SHA for 55eb203
src/db/discord.ts
@@ -294,17 +294,17 @@ export async function discordRemoveGuildTrackingChannel(
294
.delete(dbGuildYouTubeSubscriptionsTable)
295
.where(
296
eq(
297
- dbGuildYouTubeSubscriptionsTable.youtubeChannelId,
298
- platformTrackingId,
+ dbGuildYouTubeSubscriptionsTable.id,
+ Number(platformTrackingId),
299
),
300
);
301
} else if (platform === Platform.Twitch) {
302
await db
303
.delete(dbGuildTwitchSubscriptionsTable)
304
305
306
- dbGuildTwitchSubscriptionsTable.twitchChannelId,
307
+ dbGuildTwitchSubscriptionsTable.id,
308
309
310
} else {
0 commit comments