remove logging

This commit is contained in:
Christian Landgren 2020-12-14 20:50:44 +01:00
parent d9b406ec19
commit 52e0ff5846
1 changed files with 0 additions and 1 deletions

View File

@ -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})