summaryrefslogtreecommitdiff
path: root/bot
diff options
context:
space:
mode:
Diffstat (limited to 'bot')
-rw-r--r--bot/src/github.cpp4
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) {