From 1c3e3030a35c096ee7f177667daadd6d73cb4f3d Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Mon, 1 Jul 2024 13:41:24 +0300 Subject: [PATCH] Fix --- .../Controllers/NexusModsUserController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BUTR.Site.NexusMods.Server/Controllers/NexusModsUserController.cs b/src/BUTR.Site.NexusMods.Server/Controllers/NexusModsUserController.cs index f685e894..c65e9f4e 100644 --- a/src/BUTR.Site.NexusMods.Server/Controllers/NexusModsUserController.cs +++ b/src/BUTR.Site.NexusMods.Server/Controllers/NexusModsUserController.cs @@ -136,6 +136,7 @@ public NexusModsUserController(ILogger logger, INexusMo await using var unitOfWrite = _unitOfWorkFactory.CreateUnitOfWrite(); + /* Offloading this to a background task if (HttpContext.GetIsPremium()) // Premium is needed for API based downloading { var response = await _nexusModsAPIClient.GetModFileInfosFullAsync(gameDomain, modInfo.Id, apiKey, ct); @@ -157,6 +158,7 @@ public NexusModsUserController(ILogger logger, INexusMo }).ToArrayAsync(ct); unitOfWrite.NexusModsModModules.UpsertRange(entities); } + */ var nexusModsModToName = new NexusModsModToNameEntity {