diff --git a/src/node/db/API.js b/src/node/db/API.js index 9b2ecadc7..42803602c 100644 --- a/src/node/db/API.js +++ b/src/node/db/API.js @@ -851,7 +851,7 @@ const getPadSafe = async (padID, shouldExist, text, authorId = '') => { } // pad exists, let's get it - return padManager.getPad(padID, text, authorId); + return await padManager.getPad(padID, text, authorId); }; // checks if a rev is a legal number