@cubicweb/client
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -44,3 +44,3 @@ "use strict"; | ||
if (!transaction.isClosed()) { | ||
transaction.commit(); | ||
yield transaction.commit(); | ||
} | ||
@@ -47,0 +47,0 @@ return result; |
@@ -5,3 +5,3 @@ { | ||
"author": "Logilab", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"license": "LGPL-3.0-or-later", | ||
@@ -8,0 +8,0 @@ "main": "lib/index.js", |
@@ -30,3 +30,3 @@ import { Schema } from "../schema/Schema"; | ||
if (!transaction.isClosed()) { | ||
transaction.commit(); | ||
await transaction.commit(); | ||
} | ||
@@ -33,0 +33,0 @@ return result; |
Sorry, the diff of this file is not supported yet
79032