fix field name

This commit is contained in:
caneleex 2022-01-23 22:43:45 +01:00
parent 46be14507f
commit 8281ea4fdf
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ import pl.jakubweg.objects.SponsorSegment;
import pl.jakubweg.objects.UserStats;
public class SBRequester {
private static final String SPONSORLOCK_API_URL = "https://sponsor.ajay.app/api/";
private static final String SPONSORBLOCK_API_URL = "https://sponsor.ajay.app/api/";
private static final String TIME_TEMPLATE = "%.3f";
private SBRequester() {}
@ -180,7 +180,7 @@ public class SBRequester {
}
private static HttpURLConnection getConnectionFromRoute(Route route, String... params) throws IOException {
return Requester.getConnectionFromRoute(SPONSORLOCK_API_URL, route, params);
return Requester.getConnectionFromRoute(SPONSORBLOCK_API_URL, route, params);
}
private static JSONObject getJSONObject(Route route, String... params) throws Exception {