Skip to content

Commit

Permalink
Comply exhaustive case check (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcardiff committed Apr 4, 2020
1 parent b7506f6 commit c3c4314
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/kemal/param_parser.cr
Expand Up @@ -97,6 +97,8 @@ module Kemal
end
when Array
@json["_json"] = json
else
# Ignore non Array or Hash json values
end
end

Expand Down

0 comments on commit c3c4314

Please sign in to comment.