From 6d4cbbd1b2246c9d63b3b6d90ec50e77fb8644b4 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Thu, 11 May 2023 10:49:47 +0200 Subject: [PATCH] fixup --- server/utils/baaPagination.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/baaPagination.ts b/server/utils/baaPagination.ts index 76bf4cc..ea3cd0f 100644 --- a/server/utils/baaPagination.ts +++ b/server/utils/baaPagination.ts @@ -148,7 +148,7 @@ export default class BaaPagination body[field])); await database.query( - "INSERT INTO `clients` " + + `INSERT INTO \`${this.table}\` ` + `(\`${this.key}\`,\`${fields.join("`, `")}\`) ` + "VALUES (" + "?, ".repeat(fields.length) +