diff options
Diffstat (limited to 'src/generated/methods.rs')
-rw-r--r-- | src/generated/methods.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/generated/methods.rs b/src/generated/methods.rs index 621b3c9..7eeb1b0 100644 --- a/src/generated/methods.rs +++ b/src/generated/methods.rs @@ -2799,7 +2799,7 @@ impl crate::Forgejo { let response = self.execute(request).await?; match response.status().as_u16() { 200 => Ok(Some(response.json().await?)), - 204 => Ok(Some(response.json().await?)), + 204 => Ok(None), _ => Err(ForgejoError::UnexpectedStatusCode(response.status())), } } @@ -2845,7 +2845,7 @@ impl crate::Forgejo { let response = self.execute(request).await?; match response.status().as_u16() { 200 => Ok(Some(response.json().await?)), - 204 => Ok(Some(response.json().await?)), + 204 => Ok(None), _ => Err(ForgejoError::UnexpectedStatusCode(response.status())), } } @@ -3448,7 +3448,7 @@ impl crate::Forgejo { let response = self.execute(request).await?; match response.status().as_u16() { 200 => Ok(Some(response.json().await?)), - 204 => Ok(Some(response.json().await?)), + 204 => Ok(None), _ => Err(ForgejoError::UnexpectedStatusCode(response.status())), } } |