diff --git a/src/utils/apiutil.js b/src/utils/apiutil.js
index e17065b016d0f06830e8ab0b46c3752ed93710eb..5f6a2261b6e74816f4c69cb3646ccbe51bf84928 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;
         });
 }