mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
fix Crystal 1.5.0 warnings
This commit is contained in:
parent
f8fc8ce8c8
commit
268e501a63
2 changed files with 4 additions and 4 deletions
|
@ -4,8 +4,8 @@ require "../src/*"
|
|||
include Kemal
|
||||
|
||||
class CustomLogHandler < Kemal::BaseLogHandler
|
||||
def call(env)
|
||||
call_next env
|
||||
def call(context)
|
||||
call_next(context)
|
||||
end
|
||||
|
||||
def write(message)
|
||||
|
|
|
@ -27,8 +27,8 @@ module Kemal
|
|||
end
|
||||
end
|
||||
|
||||
def call(env : HTTP::Server::Context)
|
||||
call_next(env)
|
||||
def call(context : HTTP::Server::Context)
|
||||
call_next(context)
|
||||
end
|
||||
|
||||
# Processes the path based on `only` paths which is a `Array(String)`.
|
||||
|
|
Loading…
Reference in a new issue