summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-04-18 01:17:10 +0200
committerCyborus <cyborus@cyborus.xyz>2024-04-18 01:17:10 +0200
commit5ceb740e99ece4655c40706d97b8296bdca02ee0 (patch)
tree2294b45908f66fb71fceae981b4832932f801fd8 /src
parentMerge pull request 'fix release attachment download url' (#40) from fix-downl... (diff)
downloadforgejo-api-5ceb740e99ece4655c40706d97b8296bdca02ee0.tar.xz
forgejo-api-5ceb740e99ece4655c40706d97b8296bdca02ee0.zip
regenerate for 201 status code for tags
Diffstat (limited to 'src')
-rw-r--r--src/generated/methods.rs2
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())),
}
}