API: Add missing `await`
This isn't strictly necessary, but it improves readability.rhansen-chat
parent
2facf3a0c5
commit
f812e53dc9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue