[backend/core] Fix inspection
This commit is contained in:
parent
46b60c8779
commit
01b7135208
1 changed files with 2 additions and 1 deletions
|
@ -222,7 +222,8 @@ public class UserService(
|
||||||
|
|
||||||
// Prevent multiple update jobs from running concurrently
|
// Prevent multiple update jobs from running concurrently
|
||||||
db.Update(user);
|
db.Update(user);
|
||||||
await db.Users.Where(u => u.Id == user.Id)
|
var userId = user.Id;
|
||||||
|
await db.Users.Where(u => u.Id == userId)
|
||||||
.ExecuteUpdateAsync(p => p.SetProperty(u => u.LastFetchedAt, DateTime.UtcNow));
|
.ExecuteUpdateAsync(p => p.SetProperty(u => u.LastFetchedAt, DateTime.UtcNow));
|
||||||
|
|
||||||
var uri = user.Uri ?? throw new Exception("Encountered remote user without a Uri");
|
var uri = user.Uri ?? throw new Exception("Encountered remote user without a Uri");
|
||||||
|
|
Loading…
Add table
Reference in a new issue