Skip to content

Commit

Permalink
Fix Ruby warning
Browse files Browse the repository at this point in the history
This fixes the following warning.

```
interagent/committee/lib/committee/schema_validator/open_api_3.rb:90: warning: assigned but unused variable - is_form_params
```
  • Loading branch information
y-yagi committed Jan 24, 2024
1 parent c147912 commit ca16488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/committee/schema_validator/open_api_3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def request_unpack(request)

request.env[validator_option.headers_key] = unpacker.unpack_headers(request)

request_param, is_form_params = unpacker.unpack_request_params(request)
request_param, _is_form_params = unpacker.unpack_request_params(request)
request.env[validator_option.request_body_hash_key] = request_param
request.env[validator_option.path_hash_key] = coerce_path_params

Expand Down

0 comments on commit ca16488

Please sign in to comment.