This commit is contained in:
counterweight 2025-03-05 16:40:54 +01:00
parent 1a82b28745
commit 1702f29987
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C

View file

@ -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.',