Skip to content

Commit

Permalink
changed signature
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeisen committed Dec 23, 2016
1 parent a647a7b commit 386fefb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/breinify.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Breinify.prototype = {
'user': user
};
if (sign) {
var message = '' + payload.unixTimestamp + nrOfRecommendations;
var message = '' + payload.unixTimestamp;
payload.signature = this._generateSignature(config.secret, message);
}

Expand Down

0 comments on commit 386fefb

Please sign in to comment.