diff --git a/ReallifeGamemode.Client/tsconfig.json b/ReallifeGamemode.Client/tsconfig.json index cb1c3ab0..da32fe78 100644 --- a/ReallifeGamemode.Client/tsconfig.json +++ b/ReallifeGamemode.Client/tsconfig.json @@ -16,12 +16,10 @@ }, "include": [ "**/*", - "node_modules/NativeUI/index.ts", "../ReallifeGamemode.Server/Inventory/Items/Cannabis.cs", "../ReallifeGamemode.Server/Business/BoatDealerBusiness.cs" - ], - "files": [ - "node_modules/NativeUI/index.ts" + "../ReallifeGamemode.Server/Inventory/Items/Cannabis.cs", + "../ReallifeGamemode.Server/Business/BoatDealerBusiness.cs" ], "exclude": [ "node_modules" ] -} +} \ No newline at end of file diff --git a/ReallifeGamemode.DataService/Startup.cs b/ReallifeGamemode.DataService/Startup.cs index ce5d120e..27b9ffba 100644 --- a/ReallifeGamemode.DataService/Startup.cs +++ b/ReallifeGamemode.DataService/Startup.cs @@ -79,7 +79,9 @@ namespace ReallifeGamemode.DataService string debugToken = null; #if DEBUG +#pragma warning disable ASP0000 // Do not call 'IServiceCollection.BuildServiceProvider' in 'ConfigureServices' debugToken = services.BuildServiceProvider().GetService().GetDebugToken(tokenKey); +#pragma warning restore ASP0000 // Do not call 'IServiceCollection.BuildServiceProvider' in 'ConfigureServices' #endif services.AddSwaggerGen(c =>