Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
remove some debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
soliury committed Aug 4, 2015
1 parent f83e556 commit 7bc749c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/actions/UserActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions app/services/TopicService.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit 7bc749c

Please sign in to comment.