Fixed issue with pagination message

This commit is contained in:
Essem 2021-08-14 16:15:21 -05:00
parent 5e8c587c41
commit 382480e1c7
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
6 changed files with 11 additions and 12 deletions

View file

@ -127,7 +127,7 @@ exports.setup = async () => {
}
exists.push(command);
}
for (const { command } of counts.rows) {
if (!exists.includes(command)) {
await connection.query("DELETE FROM counts WHERE command = $1", [command]);

View file

@ -32,7 +32,7 @@ exports.setup = async () => {
}
exists.push(command);
}
for (const { command } of counts) {
if (!exists.includes(command)) {
connection.prepare("DELETE FROM counts WHERE command = ?").run(command);