mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
lint: PadManager.js
This commit is contained in:
parent
6b6201b448
commit
3ed4ac649c
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ const padIdTransforms = [
|
|||
];
|
||||
|
||||
// returns a sanitized padId, respecting legacy pad id formats
|
||||
exports.sanitizePadId = async function sanitizePadId(padId) {
|
||||
exports.sanitizePadId = async (padId) => {
|
||||
for (let i = 0, n = padIdTransforms.length; i < n; ++i) {
|
||||
const exists = await exports.doesPadExist(padId);
|
||||
|
||||
|
|
Loading…
Reference in a new issue