Skip to content

Commit

Permalink
fix(database/connection): return promise from commit method
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Jun 17, 2024
1 parent 35c6a9e commit 78be023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class MySql {

commit() {
delete this.transaction;
this.connection.commit();
return this.connection.commit();
}

[Symbol.dispose]() {
Expand Down

0 comments on commit 78be023

Please sign in to comment.