From 9d6282a81d1e4bb4fce382d05de0e1b1775f9e37 Mon Sep 17 00:00:00 2001 From: Vins Date: Mon, 6 May 2024 12:00:03 +0200 Subject: [PATCH] Redeploy prod --- src/app/api/idnot/UserController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/api/idnot/UserController.ts b/src/app/api/idnot/UserController.ts index 36d6ed57..a555e802 100644 --- a/src/app/api/idnot/UserController.ts +++ b/src/app/api/idnot/UserController.ts @@ -36,6 +36,7 @@ export default class UserController extends ApiController { if (!code) throw new Error("code is required"); const idNotToken = await this.idNotService.getIdNotToken(code); + if (!idNotToken) { this.httpValidationError(response, "IdNot token undefined");