mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Try to fix netf, once again into the breach
This commit is contained in:
@@ -71,7 +71,6 @@ internal sealed class ApiAuthenticationMiddleware {
|
||||
[UsedImplicitly]
|
||||
public async Task InvokeAsync(HttpContext context, IOptions<MvcNewtonsoftJsonOptions> jsonOptions) {
|
||||
ArgumentNullException.ThrowIfNull(context);
|
||||
|
||||
ArgumentNullException.ThrowIfNull(jsonOptions);
|
||||
|
||||
(HttpStatusCode statusCode, bool permanent) = await GetAuthenticationStatus(context).ConfigureAwait(false);
|
||||
|
||||
@@ -31,7 +31,6 @@ namespace ArchiSteamFarm.IPC.Integration;
|
||||
internal sealed class CustomAttributesSchemaFilter : ISchemaFilter {
|
||||
public void Apply(OpenApiSchema schema, SchemaFilterContext context) {
|
||||
ArgumentNullException.ThrowIfNull(schema);
|
||||
|
||||
ArgumentNullException.ThrowIfNull(context);
|
||||
|
||||
ICustomAttributeProvider attributesProvider;
|
||||
|
||||
@@ -33,7 +33,6 @@ namespace ArchiSteamFarm.IPC.Integration;
|
||||
internal sealed class EnumSchemaFilter : ISchemaFilter {
|
||||
public void Apply(OpenApiSchema schema, SchemaFilterContext context) {
|
||||
ArgumentNullException.ThrowIfNull(schema);
|
||||
|
||||
ArgumentNullException.ThrowIfNull(context);
|
||||
|
||||
if (context.Type is not { IsEnum: true }) {
|
||||
|
||||
@@ -63,7 +63,6 @@ internal sealed class Startup {
|
||||
[UsedImplicitly]
|
||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) {
|
||||
ArgumentNullException.ThrowIfNull(app);
|
||||
|
||||
ArgumentNullException.ThrowIfNull(env);
|
||||
|
||||
// The order of dependency injection is super important, doing things in wrong order will break everything
|
||||
|
||||
Reference in New Issue
Block a user