feat: delete all releases from settings (#170)

This commit is contained in:
Ludvig Lundgren 2022-03-06 18:08:32 +01:00 committed by GitHub
parent c28c6186d9
commit 3b43ccba8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 148 additions and 14 deletions

View file

@ -119,6 +119,7 @@ export const APIClient = {
return appClient.Get<ReleaseFindResponse>(`api/release?${params.toString()}`)
},
indexerOptions: () => appClient.Get<string[]>(`api/release/indexers`),
stats: () => appClient.Get<ReleaseStats>("api/release/stats")
stats: () => appClient.Get<ReleaseStats>("api/release/stats"),
delete: () => appClient.Delete(`api/release/all`),
}
};