refactor(api): rename type

This commit is contained in:
Stevan Freeborn
2026-02-13 04:37:47 -06:00
parent ab23593359
commit 6fc8bd0366
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ internal static class Endpoint
private static async Task<IResult> HandleAsync( private static async Task<IResult> HandleAsync(
HttpContext httpContext, HttpContext httpContext,
[FromBody] LoginRequest loginRequest, [FromBody] Request loginRequest,
[FromServices] AppDbContext appDbContext, [FromServices] AppDbContext appDbContext,
[FromServices] IPasswordHasher passwordHasher, [FromServices] IPasswordHasher passwordHasher,
[FromServices] ITokenGenerator tokenService [FromServices] ITokenGenerator tokenService
+1 -1
View File
@@ -1,6 +1,6 @@
namespace FiscalOS.API.Login; namespace FiscalOS.API.Login;
public record LoginRequest : IValidatableObject public record Request : IValidatableObject
{ {
public string Username { get; init; } = string.Empty; public string Username { get; init; } = string.Empty;
public string Password { get; init; } = string.Empty; public string Password { get; init; } = string.Empty;