some changes

This commit is contained in:
2026-02-21 16:39:38 -08:00
parent 7348785e8a
commit 6f6123559e
6 changed files with 58 additions and 8 deletions
@@ -19,7 +19,7 @@ public class AuthRepository
string? userAgent)
{
using var db = Connection;
var result = await db.QuerySingleOrDefaultAsync<string?>(
var result = await db.QuerySingleOrDefaultAsync<Guid?>(
"sp_RefreshToken_Create",
new
{
@@ -33,7 +33,7 @@ public class AuthRepository
p_user_agent = userAgent
},
commandType: CommandType.StoredProcedure);
return result != null ? Guid.Parse(result) : null;
return result;
}
public async Task<dbRefreshToken?> GetRefreshTokenByIdAsync(Guid refreshTokenId)