mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 23:57:49 +01:00
fix tests
This commit is contained in:
@@ -4,7 +4,7 @@ class NotFoundError extends Error {
|
||||
Error.captureStackTrace(this, NotFoundError);
|
||||
this.name = 'NotFound';
|
||||
this.text = text;
|
||||
this.code = 404;
|
||||
this.status = 404;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ class BadRequestError extends Error {
|
||||
Error.captureStackTrace(this, NotFoundError);
|
||||
this.name = 'BadRequest';
|
||||
this.text = text;
|
||||
this.code = 400;
|
||||
this.status = 400;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user