typo
This commit is contained in:
parent
1a82b28745
commit
1702f29987
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ class ApiRoutesProvider {
|
|||
signUpChallenge =
|
||||
await this.services.invitesService.createSignUpChallenge(inviteUuid);
|
||||
} catch (error) {
|
||||
if (error instanceof this.services.NotFoundError) {
|
||||
if (error instanceof this.errors.NotFoundError) {
|
||||
return res.status(404).json({
|
||||
success: false,
|
||||
message: 'Could not find invite with that id.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue