From 5680634accd15f2d0f7f48e553c2bbbdad80dfca Mon Sep 17 00:00:00 2001 From: Not Officer Date: Thu, 18 Feb 2021 12:44:25 +0100 Subject: [PATCH] updated packages --- FModel/Creator/Bases/BasePlaylist.cs | 2 +- FModel/FModel.csproj | 6 +++--- FModel/Utils/Endpoints.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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";