Skip to content

Commit

Permalink
added log for image
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGodefroid committed May 30, 2017
1 parent d993c74 commit 7d964b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ router.post("/:userId/saveUserImage/", function(req, res, next) {
} else {
(user.account.picture = result.secure_url), user.save(
function(err, obj) {
console.log(obj);
console.log("user.account.picture", user.account.picture);
console.log("on a sauvé l'image pour cet user");
res.send("Image updated for user");
}
Expand Down

0 comments on commit 7d964b9

Please sign in to comment.