mirror of
https://github.com/TeamPiped/Piped-Backend
synced 2025-09-06 13:31:17 +02:00
minor (put line breaks)
This commit is contained in:
parent
67681d5036
commit
27d14f7141
@ -284,6 +284,7 @@ public class AuthPlaylistHandlers {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static byte[] removeFromPlaylistResponse(String session, String playlistId, int index) throws IOException {
|
public static byte[] removeFromPlaylistResponse(String session, String playlistId, int index) throws IOException {
|
||||||
|
|
||||||
if (StringUtils.isBlank(session) || StringUtils.isBlank(playlistId))
|
if (StringUtils.isBlank(session) || StringUtils.isBlank(playlistId))
|
||||||
ExceptionHandler.throwErrorResponse(new InvalidRequestResponse("session and playlistId are required parameters"));
|
ExceptionHandler.throwErrorResponse(new InvalidRequestResponse("session and playlistId are required parameters"));
|
||||||
|
|
||||||
@ -318,6 +319,7 @@ public class AuthPlaylistHandlers {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static byte[] clearPlaylistResponse(String session, String playlistId) throws IOException {
|
public static byte[] clearPlaylistResponse(String session, String playlistId) throws IOException {
|
||||||
|
|
||||||
if (StringUtils.isBlank(session) || StringUtils.isBlank(playlistId))
|
if (StringUtils.isBlank(session) || StringUtils.isBlank(playlistId))
|
||||||
ExceptionHandler.throwErrorResponse(new InvalidRequestResponse("session and playlistId are required parameters"));
|
ExceptionHandler.throwErrorResponse(new InvalidRequestResponse("session and playlistId are required parameters"));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user