From b2d00ae0713107db134f0bf6671c8a559b973fc1 Mon Sep 17 00:00:00 2001 From: muxator Date: Tue, 26 Mar 2019 23:44:51 +0100 Subject: [PATCH] db/API.js: customeError -> customError Found by the Typescript compiler when doing an experimental conversion. --- src/node/db/API.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/db/API.js b/src/node/db/API.js index 8d4d74398..998d9acd1 100644 --- a/src/node/db/API.js +++ b/src/node/db/API.js @@ -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);