diff --git a/src/database/connection.ts b/src/database/connection.ts index ba371a6..6c51eed 100644 --- a/src/database/connection.ts +++ b/src/database/connection.ts @@ -50,7 +50,7 @@ export class MySql { commit() { delete this.transaction; - this.connection.commit(); + return this.connection.commit(); } [Symbol.dispose]() {