Skip to content

Commit

Permalink
Merge pull request #43 from amida-tech/ntrlab
Browse files Browse the repository at this point in the history
Feature #53 Tracing
  • Loading branch information
kachok committed Mar 30, 2016
2 parents 39a16b0 + d4d877a commit 44becf1
Show file tree
Hide file tree
Showing 6 changed files with 208 additions and 104 deletions.
2 changes: 1 addition & 1 deletion backend/app/bologger.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ BoLogger.prototype.log = function (data) {
if (typeof data.entities === 'object') {
data.entities = JSON.stringify(data.entities);
}
var thunkQuery = (data.req) ? data.req.thunkQuery : thunkQuery;
var thunkQuery = (data.req) ? data.req.thunkQuery : global.thunkQuery;
this.extend(data);
var id = yield thunkQuery(Log.insert(this.data).returning(Log.id));
return data;
Expand Down
Loading

0 comments on commit 44becf1

Please sign in to comment.