Pad: Return new rev number from appendRevision()

This commit is contained in:
Richard Hansen 2021-12-12 18:10:33 -05:00
parent c05ee7ce72
commit 56b7671422
2 changed files with 6 additions and 10 deletions

View file

@ -119,6 +119,7 @@ Pad.prototype.appendRevision = async function (aChangeset, author) {
}
await Promise.all(p);
return newRev;
};
// save all attributes to the database