From c779f37885e5be76174c21342b10b5eed26bc038 Mon Sep 17 00:00:00 2001 From: R-Sourabh Date: Wed, 11 Dec 2024 17:57:03 +0530 Subject: [PATCH] Fixed: Users not associated with any facility will not be able to log in to the app (#529) --- src/store/modules/user/actions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store/modules/user/actions.ts b/src/store/modules/user/actions.ts index d80c990e..650b8faa 100644 --- a/src/store/modules/user/actions.ts +++ b/src/store/modules/user/actions.ts @@ -182,6 +182,7 @@ const actions: ActionTree = { } } catch(err) { logger.error("Failed to fetch facilities") + throw err } // Updating current facility with a default first facility when fetching facilities on login