Fixed issue with pagination message
This commit is contained in:
parent
5e8c587c41
commit
382480e1c7
6 changed files with 11 additions and 12 deletions
|
@ -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]);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue