db/API.js: customeError -> customError

Found by the Typescript compiler when doing an experimental conversion.
pull/3587/head
muxator 2019-03-26 23:44:51 +01:00 committed by muxator
parent aa5e302d99
commit b2d00ae071
1 changed files with 1 additions and 1 deletions

View File

@ -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);