Skip to content

Commit

Permalink
chore(openapi): update default param for signature
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinzZH committed Jun 21, 2018
1 parent 6f70f8d commit e5c4618
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/tsw/util/openapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ const crypto = require('crypto');
* @param {string} opt.appkey 应用appkey
* @return {string} sig 签名结果
*/
this.signature = opt => {
opt = opt || {};
this.signature = (opt = {}) => {

const queryArray = [];

Expand Down

0 comments on commit e5c4618

Please sign in to comment.