renaming user should call post_unit
This commit is contained in:
parent
1bb146d8f6
commit
d3f75f67ee
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue