diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-04-18 01:17:10 +0200 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-04-18 01:17:10 +0200 |
commit | 5ceb740e99ece4655c40706d97b8296bdca02ee0 (patch) | |
tree | 2294b45908f66fb71fceae981b4832932f801fd8 | |
parent | Merge pull request 'fix release attachment download url' (#40) from fix-downl... (diff) | |
download | forgejo-api-5ceb740e99ece4655c40706d97b8296bdca02ee0.tar.xz forgejo-api-5ceb740e99ece4655c40706d97b8296bdca02ee0.zip |
regenerate for 201 status code for tags
-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 0f6a97b..efbdb64 100644 --- a/src/generated/methods.rs +++ b/src/generated/methods.rs @@ -5491,7 +5491,7 @@ impl crate::Forgejo { .build()?; let response = self.execute(request).await?; match response.status().as_u16() { - 200 => Ok(response.json().await?), + 201 => Ok(response.json().await?), _ => Err(ForgejoError::UnexpectedStatusCode(response.status())), } } |