mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Comply exhaustive case check (#560)
This commit is contained in:
parent
b7506f6fab
commit
c3c43145b8
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ module Kemal
|
||||||
end
|
end
|
||||||
when Array
|
when Array
|
||||||
@json["_json"] = json
|
@json["_json"] = json
|
||||||
|
else
|
||||||
|
# Ignore non Array or Hash json values
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue