Skip to content

Commit b2d00ae

Browse files
committed
db/API.js: customeError -> customError
Found by the Typescript compiler when doing an experimental conversion.
1 parent aa5e302 commit b2d00ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/db/API.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ exports.restoreRevision = async function(padID, rev)
525525
{
526526
// check if rev is a number
527527
if (rev === undefined) {
528-
throw new customeError("rev is not defined", "apierror");
528+
throw new customError("rev is not defined", "apierror");
529529
}
530530
rev = checkValidRev(rev);
531531

0 commit comments

Comments
 (0)