diff --git a/src/structures/TwitchManager.ts b/src/structures/TwitchManager.ts index f2953c8..7c6a61b 100644 --- a/src/structures/TwitchManager.ts +++ b/src/structures/TwitchManager.ts @@ -66,14 +66,14 @@ export class TwitchManager { if (wasOffline || (monitor.last_status === 'online' && isNewStream)) { await this.sendNotification(client, monitor, stream); (client as any).DB?.run( - 'UPDATE twitch_monitors SET last_status = "online", last_stream_id = ? WHERE id = ?', + "UPDATE twitch_monitors SET last_status = 'online', last_stream_id = ? WHERE id = ?", stream.id, monitor.id ); } } else { if (monitor.last_status === 'online') { - (client as any).DB?.run('UPDATE twitch_monitors SET last_status = "offline", last_stream_id = NULL WHERE id = ?', monitor.id); + (client as any).DB?.run("UPDATE twitch_monitors SET last_status = 'offline', last_stream_id = NULL WHERE id = ?", monitor.id); } } } catch (error) {