Comply exhaustive case check (#560)

This commit is contained in:
Brian J. Cardiff 2020-04-04 15:26:05 -03:00 committed by GitHub
parent b7506f6fab
commit c3c43145b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,6 +97,8 @@ module Kemal
end
when Array
@json["_json"] = json
else
# Ignore non Array or Hash json values
end
end