Skip to content

Commit

Permalink
Update CoupangHMAC.js
Browse files Browse the repository at this point in the history
  • Loading branch information
song9063 committed Mar 5, 2021
1 parent 0d0b672 commit ffb29f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CoupangHMAC.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var CoupangHMAC = function(){
var SECRET_KEY = this.getEnvValueByName(context,'SECRET_KEY');
var AUTH_TYPE = 'CEA algorithm=HmacSHA256';
var timestamp = new Date().toISOString().split('.')[0]+"Z";
timestamp = timestamp.replace(/:/gi, "").replace(/-/gi, "").substring(2);

var request = context.getCurrentRequest();
var method = request.method;
Expand Down

0 comments on commit ffb29f1

Please sign in to comment.