fix: bad query
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 28s
Build, Package and Push Images / sbom-scan (push) Successful in 39s
Build, Package and Push Images / container-build (push) Successful in 1m21s
Build, Package and Push Images / sonarqube (push) Successful in 1m22s
Build, Package and Push Images / container-sbom-scan (push) Successful in 33s
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 28s
Build, Package and Push Images / sbom-scan (push) Successful in 39s
Build, Package and Push Images / container-build (push) Successful in 1m21s
Build, Package and Push Images / sonarqube (push) Successful in 1m22s
Build, Package and Push Images / container-sbom-scan (push) Successful in 33s
This commit is contained in:
parent
3f311956c6
commit
0d14701031
1 changed files with 2 additions and 2 deletions
|
@ -16,6 +16,6 @@ public partial class LoginHandler
|
|||
EF.CompileAsyncQuery((WonderkingContext context, Account account) => context.Accounts.Update(account));
|
||||
|
||||
private static readonly Func<WonderkingContext, string, Task<Account>> _getAccount =
|
||||
EF.CompileQuery((WonderkingContext context, string username) =>
|
||||
context.Accounts.FirstOrDefaultAsync(a => a.Username == username, default));
|
||||
EF.CompileAsyncQuery((WonderkingContext context, string username) =>
|
||||
context.Accounts.FirstOrDefault(a => a.Username == username));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue