mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
minor (put line breaks)
This commit is contained in:
parent
67681d5036
commit
27d14f7141
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue