mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
db: await more database operations
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
This commit is contained in:
parent
e64462323b
commit
0040f5984e
3 changed files with 19 additions and 21 deletions
|
@ -139,11 +139,11 @@ exports.getRevisionChangeset = async (padID, rev) => {
|
|||
}
|
||||
|
||||
// get the changeset for this revision
|
||||
return pad.getRevisionChangeset(rev);
|
||||
return await pad.getRevisionChangeset(rev);
|
||||
}
|
||||
|
||||
// the client wants the latest changeset, lets return it to him
|
||||
return pad.getRevisionChangeset(head);
|
||||
return await pad.getRevisionChangeset(head);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue