mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	return raw json when we parse the request body
This commit is contained in:
		
							parent
							
								
									e39770b433
								
							
						
					
					
						commit
						8c0ea21d44
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -42,7 +42,7 @@ class Kemal::ParamParser | |||
| 
 | ||||
|     body = @request.body as String | ||||
| 
 | ||||
|     case json = JSON.parse(body) | ||||
|     case json = JSON.parse(body).raw | ||||
|     when Hash | ||||
|       json.each do |k, v| | ||||
|         @params[k as String] = v as AllParamTypes | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue