Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija authored Dec 27, 2023
1 parent 774de63 commit 9eec7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kemal/ext/context.cr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class HTTP::Server
STORE_MAPPINGS = [Nil, String, Int32, Int64, Float64, Bool]

macro finished
alias StoreTypes = Union({{ *STORE_MAPPINGS }})
alias StoreTypes = Union({{ STORE_MAPPINGS.splat }})
@store = {} of String => StoreTypes
end

Expand Down

0 comments on commit 9eec7da

Please sign in to comment.