From b860c2c25cc8f8e729bfb7259c1e2ab73427c8b9 Mon Sep 17 00:00:00 2001 From: Luv_Sharma <141054252+LuvSharma007@users.noreply.github.com> Date: Mon, 23 Jun 2025 12:26:34 +0530 Subject: [PATCH] Update auth.js --- src/appwrite/auth.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/appwrite/auth.js b/src/appwrite/auth.js index 3ed3b7f..8c4330c 100644 --- a/src/appwrite/auth.js +++ b/src/appwrite/auth.js @@ -36,6 +36,7 @@ export class AuthServices { if(error.code === 410 || error.type === 'general_unauthorized_scope') return null; console.log(`Unauthorized Access:${error}`); } + return null; } async logout(){ try{ @@ -43,6 +44,7 @@ export class AuthServices { } catch( error ){ console.log("Appwrite services :: logout ::",error); + return null; } } }