diff options
Diffstat (limited to 'src/generated/methods.rs')
-rw-r--r-- | src/generated/methods.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generated/methods.rs b/src/generated/methods.rs index bb14bdf..f49d61f 100644 --- a/src/generated/methods.rs +++ b/src/generated/methods.rs @@ -321,7 +321,7 @@ impl crate::Forgejo { .build()?; let response = self.execute(request).await?; match response.status().as_u16() { - 201 => Ok(()), + 204 => Ok(()), _ => Err(ForgejoError::UnexpectedStatusCode(response.status())), } } |