diff --git a/Shogi.Api/Controllers/UserController.cs b/Shogi.Api/Controllers/UserController.cs index c147960..85973da 100644 --- a/Shogi.Api/Controllers/UserController.cs +++ b/Shogi.Api/Controllers/UserController.cs @@ -59,7 +59,7 @@ public class UserController : ControllerBase /// [AllowAnonymous] [HttpGet("LoginAsGuest")] - public async Task GuestLogin([FromQuery] string returnUrl) + public async Task GuestLogin([FromQuery] string? returnUrl) { var principal = await this.claimsTransformation.CreateClaimsFromGuestPrincipal(User); if (principal != null) diff --git a/Shogi.Api/Program.cs b/Shogi.Api/Program.cs index bea291d..6ddf276 100644 --- a/Shogi.Api/Program.cs +++ b/Shogi.Api/Program.cs @@ -43,7 +43,7 @@ namespace Shogi.Api app.UseWhen( // Log anything that isn't related to swagger. - context => ShouldLog(context), + context => IsNotSwaggerUI(context), appBuilder => appBuilder.UseHttpLogging()); // Configure the HTTP request pipeline. @@ -69,7 +69,7 @@ namespace Shogi.Api app.Run(); - static bool ShouldLog(HttpContext context) + static bool IsNotSwaggerUI(HttpContext context) { var path = context.Request.GetEncodedPathAndQuery(); diff --git a/Shogi.Database/Session/Types/JsonDocument.sql b/Shogi.Database/Session/Types/JsonDocument.sql deleted file mode 100644 index 212ae06..0000000 --- a/Shogi.Database/Session/Types/JsonDocument.sql +++ /dev/null @@ -1,2 +0,0 @@ -CREATE TYPE [session].[JsonDocument] - FROM NVARCHAR(max) NOT NULL diff --git a/Shogi.Database/Shogi.Database.sqlproj b/Shogi.Database/Shogi.Database.sqlproj index e4b8681..75317b6 100644 --- a/Shogi.Database/Shogi.Database.sqlproj +++ b/Shogi.Database/Shogi.Database.sqlproj @@ -76,7 +76,6 @@ -