diff --git a/FModel/Creator/Bases/BasePlaylist.cs b/FModel/Creator/Bases/BasePlaylist.cs index 68653ae1..75d71839 100644 --- a/FModel/Creator/Bases/BasePlaylist.cs +++ b/FModel/Creator/Bases/BasePlaylist.cs @@ -41,7 +41,7 @@ namespace FModel.Creator.Bases if (export.GetExport("PlaylistName") is { } playlistName && !playlistName.Value.IsNone) { - ApiResponse playlist = Endpoints.FortniteAPI.V1.Playlists.Get(playlistName.Value.String); + ApiResponse playlist = Endpoints.FortniteAPIClient.V1.Playlists.Get(playlistName.Value.String); if (playlist.IsSuccess && playlist.Data.Images.HasShowcase) { diff --git a/FModel/FModel.csproj b/FModel/FModel.csproj index 0cd1296d..6609283d 100644 --- a/FModel/FModel.csproj +++ b/FModel/FModel.csproj @@ -115,11 +115,11 @@ - + - - + + diff --git a/FModel/Utils/Endpoints.cs b/FModel/Utils/Endpoints.cs index 245d97c5..54bc36e2 100644 --- a/FModel/Utils/Endpoints.cs +++ b/FModel/Utils/Endpoints.cs @@ -13,7 +13,7 @@ namespace FModel.Utils { static class Endpoints { - public static readonly FortniteApi FortniteAPI = new FortniteApi($"FModel/{Assembly.GetExecutingAssembly().GetName().Version}"); + public static readonly FortniteApiClient FortniteAPIClient = new FortniteApiClient($"FModel/{Assembly.GetExecutingAssembly().GetName().Version}"); public const string BENBOT_AES = "https://benbotfn.tk/api/v1/aes"; public const string BENBOT_MAPPINGS = "https://benbotfn.tk/api/v1/mappings"; public const string BENBOT_HOTFIXES = "https://benbotfn.tk/api/v1/hotfixes";