mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
style: correctly format assignment
Co-authored-by: Bnyro <82752168+Bnyro@users.noreply.github.com>
This commit is contained in:
parent
9f30df1f80
commit
345828bdd6
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ public class SponsorBlockUtils {
|
||||||
|
|
||||||
for (String apiUrl : Constants.SPONSORBLOCK_SERVERS) {
|
for (String apiUrl : Constants.SPONSORBLOCK_SERVERS) {
|
||||||
try {
|
try {
|
||||||
String url =apiUrl + "/api/skipSegments/" + URLUtils.silentEncode(hash.substring(0, 4))
|
String url = apiUrl + "/api/skipSegments/" + URLUtils.silentEncode(hash.substring(0, 4))
|
||||||
|
|
||||||
+ "?categories=" + URLUtils.silentEncode(categories);
|
+ "?categories=" + URLUtils.silentEncode(categories);
|
||||||
if (actionType != null && !actionType.isBlank())
|
if (actionType != null && !actionType.isBlank())
|
||||||
url += "&actionTypes=" + URLUtils.silentEncode(actionType);
|
url += "&actionTypes=" + URLUtils.silentEncode(actionType);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue