diff options
| author | ilotterytea <iltsu@alright.party> | 2024-12-14 00:10:40 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-12-14 00:10:40 +0500 |
| commit | dbb795b2c851e23d7af2de3983138dcd66d6104c (patch) | |
| tree | 6783aab6b97c43883561d038f1b31cc7db91f8f5 /bot/src | |
| parent | 2d40d39264de4eed0bdb9e8e0117a8c1e2f199d3 (diff) | |
fix: sql fixes
Diffstat (limited to 'bot/src')
| -rw-r--r-- | bot/src/modules/notify.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<int>()) + ", " + - std::to_string(request.user.get_id())); + std::to_string(request.user.get_id()) + ")"); work.commit(); return command::Response( |
