Skip to content

Commit 7a768f8

Browse files
committed
style: run lint
1 parent cc46591 commit 7a768f8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/db/discord.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,17 @@ export async function discordRemoveGuildTrackingChannel(
287287
console.log(`Removing tracking for ID: ${trackingId}`);
288288

289289
const parts = trackingId.split(".");
290+
290291
if (parts.length !== 2) {
291-
console.error("Invalid trackingId format. Expected format: 'platform.id'");
292+
console.error(
293+
"Invalid trackingId format. Expected format: 'platform.id'",
294+
);
295+
292296
return { success: false, data: [] };
293297
}
294298

295299
const [platform, platformTrackingId] = parts;
300+
296301
try {
297302
if (platform === Platform.YouTube) {
298303
await db

0 commit comments

Comments
 (0)