From dbb795b2c851e23d7af2de3983138dcd66d6104c Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 14 Dec 2024 00:10:40 +0500 Subject: fix: sql fixes --- bot/src/modules/notify.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/src') diff --git a/bot/src/modules/notify.hpp b/bot/src/modules/notify.hpp index 35b4d36..7bea6a6 100644 --- a/bot/src/modules/notify.hpp +++ b/bot/src/modules/notify.hpp @@ -100,7 +100,7 @@ namespace bot { work.exec( "INSERT INTO event_subscriptions(event_id, user_id) VALUES (" + std::to_string(event[0].as()) + ", " + - std::to_string(request.user.get_id())); + std::to_string(request.user.get_id()) + ")"); work.commit(); return command::Response( -- cgit v1.2.3