From 1c1bf24bff979d5fc865b68d7b5ab996cec305e2 Mon Sep 17 00:00:00 2001 From: "DESKTOP-2S5P7D1\\Windows 10" Date: Wed, 18 Dec 2024 17:09:06 +0700 Subject: [PATCH] edit try --- src/interfaces/permission.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/permission.ts b/src/interfaces/permission.ts index d8d700a..d462e4c 100644 --- a/src/interfaces/permission.ts +++ b/src/interfaces/permission.ts @@ -193,8 +193,8 @@ class CheckAuth { if (reply != null) { reply = JSON.parse(reply); } else { + if (!keycloakId) throw "Error calling API No KeycloakId"; try { - if (!keycloakId) throw "Error calling API No KeycloakId"; const x = await new CallAPI().GetData( { headers: { authorization: token },