db/API.js: customeError -> customError
Found by the Typescript compiler when doing an experimental conversion.pull/3587/head
parent
aa5e302d99
commit
b2d00ae071
|
@ -525,7 +525,7 @@ exports.restoreRevision = async function(padID, rev)
|
|||
{
|
||||
// check if rev is a number
|
||||
if (rev === undefined) {
|
||||
throw new customeError("rev is not defined", "apierror");
|
||||
throw new customError("rev is not defined", "apierror");
|
||||
}
|
||||
rev = checkValidRev(rev);
|
||||
|
||||
|
|
Loading…
Reference in New Issue