API: Add missing `await`

This isn't strictly necessary, but it improves readability.
rhansen-chat
Richard Hansen 2022-04-08 14:34:07 -04:00
parent 2facf3a0c5
commit f812e53dc9
1 changed files with 1 additions and 1 deletions

View File

@ -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