Skip to content

Commit

Permalink
Merge pull request #144 from wh2000292/master
Browse files Browse the repository at this point in the history
fix  ws order.history param error
  • Loading branch information
haipome authored Sep 3, 2018
2 parents 4a7c27b + bbc6830 commit d688af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accessws/aw_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ static int on_method_order_history(nw_ses *ses, uint64_t id, struct clt_info *in

if (!info->auth)
return send_error_require_auth(ses, id);
if (json_array_size(params) != 5)
if (json_array_size(params) != 6)
return send_error_invalid_argument(ses, id);

json_t *read_params = json_array();
Expand Down

0 comments on commit d688af7

Please sign in to comment.