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 | include Kemal | ||||||
| 
 | 
 | ||||||
| class CustomLogHandler < Kemal::BaseLogHandler | class CustomLogHandler < Kemal::BaseLogHandler | ||||||
|   def call(env) |   def call(context) | ||||||
|     call_next env |     call_next(context) | ||||||
|   end |   end | ||||||
| 
 | 
 | ||||||
|   def write(message) |   def write(message) | ||||||
|  |  | ||||||
|  | @ -27,8 +27,8 @@ module Kemal | ||||||
|       end |       end | ||||||
|     end |     end | ||||||
| 
 | 
 | ||||||
|     def call(env : HTTP::Server::Context) |     def call(context : HTTP::Server::Context) | ||||||
|       call_next(env) |       call_next(context) | ||||||
|     end |     end | ||||||
| 
 | 
 | ||||||
|     # Processes the path based on `only` paths which is a `Array(String)`. |     # Processes the path based on `only` paths which is a `Array(String)`. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue