don't delete torrents!
This commit is contained in:
parent
e4284af7f0
commit
56fde83030
2
pom.xml
2
pom.xml
|
@ -6,7 +6,7 @@
|
|||
|
||||
<groupId>tv.mangrana</groupId>
|
||||
<artifactId>mangrana-commons</artifactId>
|
||||
<version>7.1.2</version>
|
||||
<version>7.1.3</version>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
|
|
|
@ -36,7 +36,7 @@ public interface SonarrAPIInterface extends APIInterface {
|
|||
@DELETE
|
||||
@Path("/queue/bulk")
|
||||
@Consumes({ MediaType.APPLICATION_JSON })
|
||||
void deleteQueueElements(QueueBulk ids, @QueryParam("apikey") String apikey);
|
||||
void deleteQueueElements(QueueBulk ids, @QueryParam("removeFromClient") boolean removeTorrents, @QueryParam("apikey") String apikey);
|
||||
|
||||
@GET
|
||||
@Path("/series/{id}")
|
||||
|
|
|
@ -41,7 +41,7 @@ public class SonarrApiGateway {
|
|||
}
|
||||
|
||||
public void deleteQueueElements(List<Integer> ids) {
|
||||
proxy.deleteQueueElements(new QueueBulk(ids), apiKey);
|
||||
proxy.deleteQueueElements(new QueueBulk(ids), false, apiKey);
|
||||
log("sent Delete command to Sonarr for the queue elements with ids "+ids);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue