renaming user should call post_unit
				
					
				
			This commit is contained in:
		
							parent
							
								
									1bb146d8f6
								
							
						
					
					
						commit
						d3f75f67ee
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -124,7 +124,7 @@ impl Forgejo {
 | 
			
		|||
        user: &str,
 | 
			
		||||
        opt: RenameUserOption,
 | 
			
		||||
    ) -> Result<(), ForgejoError> {
 | 
			
		||||
        self.post(&format!("admin/users/{user}/rename"), &opt).await
 | 
			
		||||
        self.post_unit(&format!("admin/users/{user}/rename"), &opt).await
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub async fn admin_create_repo(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue