diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-18 16:06:56 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-18 16:06:56 +0500 |
| commit | 4827c87c986d217a940ce87cc31245440d6b1ab6 (patch) | |
| tree | fe6e8e5e79bab1d18562ce64fd3df252695a7ac6 /bot | |
| parent | e97e518a786b57372df4061e8fa878c9414640bd (diff) | |
fix: github is now 40 (in event_type units)
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/src/github.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/src/github.cpp b/bot/src/github.cpp index d951e11..13825cb 100644 --- a/bot/src/github.cpp +++ b/bot/src/github.cpp @@ -64,7 +64,7 @@ namespace bot { pqxx::work work(conn); pqxx::result repos = - work.exec("SELECT name FROM events WHERE event_type = 10"); + work.exec("SELECT name FROM events WHERE event_type = 40"); // Adding new repos for (const auto &repo : repos) { @@ -165,7 +165,7 @@ namespace bot { "channel_name, c.alias_id AS channel_aid " "FROM events e " "INNER JOIN channels c ON c.id = e.channel_id " - "WHERE e.name = $1 AND e.event_type = 10", + "WHERE e.name = $1 AND e.event_type = 40", pqxx::params{pair.first}); for (const auto &event : events) { |
