diff --git a/Beataroni/Beataroni/Services/BeatModsV1.cs b/Beataroni/Beataroni/Services/BeatModsV1.cs index 642b9e0..f799c32 100644 --- a/Beataroni/Beataroni/Services/BeatModsV1.cs +++ b/Beataroni/Beataroni/Services/BeatModsV1.cs @@ -17,10 +17,9 @@ public class BeatModsV1 /// API endpoints/urls /// Note: You MUST not have '//' in the resulting URLs, beatmods can't handle this - private static readonly string APIRoot = "https://beatmods.com/api/v1"; private static readonly string APIDownload = "https://beatmods.com"; private static readonly string APIVersion = "https://versions.beatmods.com/versions.json"; - private static readonly string APIMod = "mod"; + private static readonly string APIMod = "https://beatmods.com/api/v1/mod"; /// Fetch list of beatsaber/mod versions /// List will be returned in order sent from server - Should be newest -> oldest @@ -55,7 +54,7 @@ public static IList FetchBSVersions() /// Typical filters would be game version, installation type, mod status public static IList FetchMods( Dictionary filters ) { - var endpoint = $"{APIRoot}/{APIMod}"; + var endpoint = $"{APIMod}"; if( filters != null && filters.Count > 0 ) {