mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
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
|
// check if rev is a number
|
||||||
if (rev === undefined) {
|
if (rev === undefined) {
|
||||||
throw new customeError("rev is not defined", "apierror");
|
throw new customError("rev is not defined", "apierror");
|
||||||
}
|
}
|
||||||
rev = checkValidRev(rev);
|
rev = checkValidRev(rev);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue