minor (put line breaks)

This commit is contained in:
frajibe 2023-01-07 15:24:06 +01:00
parent 67681d5036
commit 27d14f7141
1 changed files with 2 additions and 0 deletions

View File

@ -284,6 +284,7 @@ public class AuthPlaylistHandlers {
}
public static byte[] removeFromPlaylistResponse(String session, String playlistId, int index) throws IOException {
if (StringUtils.isBlank(session) || StringUtils.isBlank(playlistId))
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 {
if (StringUtils.isBlank(session) || StringUtils.isBlank(playlistId))
ExceptionHandler.throwErrorResponse(new InvalidRequestResponse("session and playlistId are required parameters"));