From 4e4c4719ac6c8f54bd503ae0e6247d793c9707a9 Mon Sep 17 00:00:00 2001 From: Mika Kattainen Date: Fri, 25 Sep 2020 08:51:16 +0300 Subject: [PATCH] Revert "Add a hack for debugging purposes" This reverts commit 385e9fe0ace7b8bdfaf08c5c876bfe085e0ccf3b. --- src/groups.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/groups.js b/src/groups.js index 14552d3..65dbe71 100644 --- a/src/groups.js +++ b/src/groups.js @@ -27,7 +27,6 @@ async function getMemberData(groupMembers) { }) ).catch(error => { console.log('Failed to get member data: ', error) - return error }) } @@ -68,7 +67,6 @@ async function getAllGroups(userNumber) { }) ).catch(error => { console.log('Failed to get groupAndMemberData: ', error) - return error }) return groupAndMemberData @@ -81,6 +79,5 @@ export async function getGroups(userNumber) { return filteredGroups || [] } catch (error) { console.log('Get groups failed with error: ', error) - return error } }