mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
API: Add missing await
This isn't strictly necessary, but it improves readability.
This commit is contained in:
parent
2facf3a0c5
commit
f812e53dc9
1 changed files with 1 additions and 1 deletions
|
@ -851,7 +851,7 @@ const getPadSafe = async (padID, shouldExist, text, authorId = '') => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// pad exists, let's get it
|
// 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
|
// checks if a rev is a legal number
|
||||||
|
|
Loading…
Reference in a new issue