db/API.js: customeError -> customError
Found by the Typescript compiler when doing an experimental conversion.
This commit is contained in:
parent
aa5e302d99
commit
b2d00ae071
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue