From 52e0ff5846fb6aefcd9ab3360a9d832af28093c6 Mon Sep 17 00:00:00 2001 From: Christian Landgren Date: Mon, 14 Dec 2020 20:50:44 +0100 Subject: [PATCH] remove logging --- packages/api/lib/backend.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/api/lib/backend.js b/packages/api/lib/backend.js index 7581726f..f5f02101 100644 --- a/packages/api/lib/backend.js +++ b/packages/api/lib/backend.js @@ -43,7 +43,6 @@ const getCalendar = (childId, cookie) => fetchJson(urls.calendar(childId), cooki .catch(err => ({err})) const getNotifications = (childId, cookie) => fetchJson(urls.notifications(childId), cookie) - .then(json => console.log('json', json) || json) .then(notifications => notifications.map(({notificationMessage: {messages: {message: {messageid: id, messagetext: message, messagetime: dateCreated, linkbackurl: url, sender, category, messagetype: {type: messageType}}} = {}}}) => ({id, sender, dateCreated: moment(dateCreated).toISOString(), message, url, category, messageType}))) .catch(err => console.error(err) || {err})