add missing arg to UnexpectedStatusCode
				
					
				
			This commit is contained in:
		
							parent
							
								
									2f60a92933
								
							
						
					
					
						commit
						2859fd132e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -540,7 +540,7 @@ fn create_method_response(
 | 
			
		|||
        out.push_str(handler);
 | 
			
		||||
        out.push_str(",\n");
 | 
			
		||||
    }
 | 
			
		||||
    out.push_str("_ => Err(ForgejoError::UnexpectedStatusCode)\n");
 | 
			
		||||
    out.push_str("_ => Err(ForgejoError::UnexpectedStatusCode(response.status()))\n");
 | 
			
		||||
    out.push_str("}\n");
 | 
			
		||||
 | 
			
		||||
    Ok(out)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue