mirror of
https://github.com/opelly27/WinStudentGoalTracker.git
synced 2026-05-20 02:57:36 +00:00
type error bug fix
This commit is contained in:
@@ -67,7 +67,7 @@ public class AuthRepository
|
|||||||
string? userAgent)
|
string? userAgent)
|
||||||
{
|
{
|
||||||
using var db = Connection;
|
using var db = Connection;
|
||||||
var result = await db.QuerySingleOrDefaultAsync<string?>(
|
var result = await db.QuerySingleOrDefaultAsync<Guid?>(
|
||||||
"sp_RefreshToken_Replace",
|
"sp_RefreshToken_Replace",
|
||||||
new
|
new
|
||||||
{
|
{
|
||||||
@@ -82,6 +82,6 @@ public class AuthRepository
|
|||||||
p_user_agent = userAgent
|
p_user_agent = userAgent
|
||||||
},
|
},
|
||||||
commandType: CommandType.StoredProcedure);
|
commandType: CommandType.StoredProcedure);
|
||||||
return result != null ? Guid.Parse(result) : null;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user