1
0
Fork 0

follow OpenClosed p.

This commit is contained in:
xeviff 2024-05-25 11:18:06 +02:00
parent 56fde83030
commit abf137598e
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<groupId>tv.mangrana</groupId>
<artifactId>mangrana-commons</artifactId>
<version>7.1.3</version>
<version>7.2.0</version>
<properties>
<maven.compiler.source>8</maven.compiler.source>

View File

@ -1,6 +1,6 @@
package tv.mangrana.exception;
public class IncorrectWorkingReferencesException extends Exception {
public class IncorrectWorkingReferencesException extends RuntimeException {
public IncorrectWorkingReferencesException(String s) {
super(s);
}

View File

@ -30,7 +30,7 @@ public interface SonarrAPIInterface extends APIInterface {
@DELETE
@Path("/queue/{id}")
@Produces({ MediaType.APPLICATION_JSON })
void deleteQueueElement(@PathParam("id") Integer idElement, @QueryParam("removeFromClient") boolean removeFromClient,
void deleteQueueElement(@PathParam("id") Integer idElement, @QueryParam("removeFromClient") boolean removeTorrents,
@QueryParam("apikey") String apikey);
@DELETE