1
0
Fork 0

regenerate for 201 status code for tags

This commit is contained in:
Cyborus 2024-04-17 19:17:10 -04:00
parent b1d9dae5ac
commit 5ceb740e99
No known key found for this signature in database

View file

@ -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())),
}
}