From 84723a0f5bac21f5cfd6cceb450aa50b8b94c1fa Mon Sep 17 00:00:00 2001 From: Zara Mudassar <zara.1310@hotmail.com> Date: Fri, 29 Apr 2022 15:36:27 +0200 Subject: [PATCH] Removed console.log --- src/utils/apiutil.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/utils/apiutil.js b/src/utils/apiutil.js index e17065b..5f6a226 100644 --- a/src/utils/apiutil.js +++ b/src/utils/apiutil.js @@ -208,10 +208,7 @@ export function JoinOpenCommunity(communityId) { } export async function GetIfUserAlreadyInCommunity(communityID) { - console.log("token: " + tokenHeader().Authorization); - if(tokenHeader().Authorization == "Bearer " + null){ - console.log("ikke logget på!"); return false; } @@ -220,11 +217,9 @@ export async function GetIfUserAlreadyInCommunity(communityID) { headers: tokenHeader(), }) .then((response) => { - console.log("res: " + response.data); return response.data; }) .catch((error) => { - console.error("err: " + error); return error; }); } -- GitLab