mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
Moved chained funcitons to multiple lines
This commit is contained in:
+2
-1
@@ -112,7 +112,8 @@ UserSchema.statics.mergeUsers = function(dstUserID, srcUserID) {
|
||||
});
|
||||
|
||||
return srcUser.remove();
|
||||
}).then(() => dstUser.save());
|
||||
})
|
||||
.then(() => dstUser.save());
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user