mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
Pad: Return new rev number from appendRevision()
This commit is contained in:
parent
c05ee7ce72
commit
56b7671422
2 changed files with 6 additions and 10 deletions
|
@ -119,6 +119,7 @@ Pad.prototype.appendRevision = async function (aChangeset, author) {
|
|||
}
|
||||
|
||||
await Promise.all(p);
|
||||
return newRev;
|
||||
};
|
||||
|
||||
// save all attributes to the database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue