jiahuili430 commented on code in PR #4414:
URL: https://github.com/apache/couchdb/pull/4414#discussion_r1154737189
##########
src/couch_mrview/src/couch_mrview_http.erl:
##########
@@ -530,9 +551,20 @@ parse_param(Key, Val, Args, IsDecoded) ->
JsonKey = ?JSON_DECODE(Val),
Args#mrargs{start_key = JsonKey, end_key = JsonKey};
"keys" when IsDecoded ->
- Args#mrargs{keys = Val};
+ case Val of
+ [Val1] ->
Review Comment:
Thanks for your comments, I tried to rewrite this PR here
https://github.com/apache/couchdb/pull/4494
Changed `[Val1]` to `[SingleKeys]` because `Key` is already used.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]