diff options
author | Cyborus <cyborus@cyborus.xyz> | 2023-12-11 21:30:08 +0100 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2023-12-11 21:52:45 +0100 |
commit | 02e6eb6c601444aca263872a10ced0a266f4164d (patch) | |
tree | 3e37a4fa9591d5898e3d7c8259401f46b730b52e /src/lib.rs | |
parent | fix release attachments (diff) | |
download | forgejo-api-02e6eb6c601444aca263872a10ced0a266f4164d.tar.xz forgejo-api-02e6eb6c601444aca263872a10ced0a266f4164d.zip |
deletions do not return bodies
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ impl Forgejo { async fn delete(&self, path: &str) -> Result<(), ForgejoError> { let url = self.url.join("api/v1/").unwrap().join(path).unwrap(); let request = self.client.delete(url).build()?; - self.execute(request).await + self.execute_unit(request).await } async fn patch<T: Serialize, U: DeserializeOwned>( |