1
0
Fork 0

renaming user should call post_unit

This commit is contained in:
Cyborus 2023-12-12 14:02:44 -05:00
parent 1bb146d8f6
commit d3f75f67ee
No known key found for this signature in database

View file

@ -124,7 +124,7 @@ impl Forgejo {
user: &str, user: &str,
opt: RenameUserOption, opt: RenameUserOption,
) -> Result<(), ForgejoError> { ) -> 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( pub async fn admin_create_repo(