Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
simonaco committed Feb 5, 2018
1 parent 7c8b8c8 commit 449cfed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GetHeroes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = function(context, req) {
.find()
.toArray((err, result) => {
if (err) throw err;
console.log('This is a happy moment');
context.log('This is a happy moment');
result.forEach(hero => delete hero._id);
context.res = {
//status: 200,
Expand Down

0 comments on commit 449cfed

Please sign in to comment.