Fixed bug in category command

This commit is contained in:
Logan Cusano
2023-02-26 03:54:30 -05:00
parent 9c67d826fc
commit 85b5ed02cf
3 changed files with 17 additions and 9 deletions

View File

@@ -118,7 +118,7 @@ class Storage {
if (this.dbTable == rssFeedsTable){
records.push(new RSSSourceRecord(row.id, row.title, row.link, row.category, row.guild_id, row.channel_id));
}
if (this.dbTable == rssPostsTable){
else {
records.push(rows);
}
}
@@ -144,7 +144,7 @@ class Storage {
if (this.dbTable == rssFeedsTable){
records.push(new RSSSourceRecord(row.id, row.title, row.link, row.category, row.guild_id, row.channel_id));
}
if (this.dbTable == rssPostsTable){
else {
records.push(rows);
}
}