Skip to content

Commit

Permalink
Merge pull request #12 from cloudify/expose-bindings
Browse files Browse the repository at this point in the history
Expose context bindings in Request object

Related to #6
  • Loading branch information
yvele authored Oct 15, 2017
2 parents 8cb1c45 + 2c05ba1 commit 3d086a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/IncomingMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export default class IncomingMessage extends EventEmitter {
// Add access specific objects via req.context
this.context = {
log : context.log.bind(context),
invocationId : context.invocationId
invocationId : context.invocationId,
bindings : context.bindings
};
}

Expand Down

0 comments on commit 3d086a9

Please sign in to comment.