db/API.js: customeError -> customError

Found by the Typescript compiler when doing an experimental conversion.
This commit is contained in:
muxator 2019-03-26 23:44:51 +01:00 committed by muxator
parent aa5e302d99
commit b2d00ae071

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