diff --git a/src/node/utils/padDiff.js b/src/node/utils/padDiff.js index 2fc36660e..e14ba9aca 100644 --- a/src/node/utils/padDiff.js +++ b/src/node/utils/padDiff.js @@ -90,7 +90,7 @@ PadDiff.prototype._createClearAuthorship = async function (rev) { PadDiff.prototype._createClearStartAtext = async function (rev) { // get the atext of this revision - const atext = this._pad.getInternalRevisionAText(rev); + const atext = await this._pad.getInternalRevisionAText(rev); // create the clearAuthorship changeset const changeset = await this._createClearAuthorship(rev);