fix(database/connection): return promise from commit method

This commit is contained in:
Linden committed 2024-06-17 15:51:39 +10:00
1 parent 35c6a9ee7f
commit 78be0238f5
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ export class MySql {
commit() {
delete this.transaction;
this.connection.commit();
return this.connection.commit();
}
[Symbol.dispose]() {