API: Add missing await

This isn't strictly necessary, but it improves readability.
This commit is contained in:
Richard Hansen 2022-04-08 14:34:07 -04:00
parent 2facf3a0c5
commit f812e53dc9

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