diff --git a/app/actions/UserActions.js b/app/actions/UserActions.js index f14353d3..d6e9ffb5 100644 --- a/app/actions/UserActions.js +++ b/app/actions/UserActions.js @@ -18,7 +18,7 @@ exports.getLoginUserFromStorage = function () { var userTemp = {} UserService.storage.getUser() .then((user)=> { - console.log('haveLoadedUser'); + // console.log('haveLoadedUser'); if (user) { dispatch(getUser(user)) userTemp = user @@ -30,7 +30,7 @@ exports.getLoginUserFromStorage = function () { }) .then(userFetched=> { - console.log('fetchUser'); + // console.log('fetchUser'); if (userFetched) { var userUpdated = Object.assign(userTemp, userFetched) UserService.storage.saveUser(userUpdated) diff --git a/app/services/TopicService.js b/app/services/TopicService.js index 00961163..a7aa051c 100644 --- a/app/services/TopicService.js +++ b/app/services/TopicService.js @@ -71,14 +71,12 @@ req.markTopicAsLike = function (id, token, isLiked) { apiUrl += '/topic/de_collect' } - console.log(apiUrl); return request.post(apiUrl, { accesstoken: token, topic_id: id }) .then(data => { - console.log(data); if (!data.success) { throw 'error' }