fix: remove redundant line breaks

This commit is contained in:
mogita 2019-06-24 13:27:22 +08:00
parent 4bea33eae0
commit 1c8e074662
No known key found for this signature in database
GPG Key ID: A0AA1B9C57A48ECF
1 changed files with 0 additions and 2 deletions

View File

@ -239,7 +239,6 @@ Collection.prototype.updateDocument = async function(
this.documentStructure = updateChildren(this.documentStructure);
await this.save({ transaction });
await transaction.commit();
} catch (err) {
if (transaction) {
await transaction.rollback();
@ -296,7 +295,6 @@ Collection.prototype.removeDocumentInStructure = async function(
transaction,
});
await transaction.commit();
} catch (err) {
if (transaction) {
await transaction.rollback();