RequestBuilder::json takes reference, doesn't return result
				
					
				
			This commit is contained in:
		
							parent
							
								
									fed24b52ec
								
							
						
					
					
						commit
						f8bbf570e1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -433,7 +433,7 @@ fn create_method_request(
 | 
			
		|||
                    if param_is_string(spec, param)? {
 | 
			
		||||
                        body_method = format!(".body({name})");
 | 
			
		||||
                    } else {
 | 
			
		||||
                        body_method = format!(".json({name})?");
 | 
			
		||||
                        body_method = format!(".json(&{name})");
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
                ParameterIn::FormData => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue