[backend/core] Fix typo
This commit is contained in:
parent
6fdc8b73f7
commit
117443b802
1 changed files with 2 additions and 2 deletions
|
@ -281,9 +281,9 @@ public class NoteService(
|
||||||
{
|
{
|
||||||
await bgDb.Notes.Where(p => p.Id == note.Id)
|
await bgDb.Notes.Where(p => p.Id == note.Id)
|
||||||
.ExecuteUpdateAsync(p => p.SetProperty(i => i.RepliesCount,
|
.ExecuteUpdateAsync(p => p.SetProperty(i => i.RepliesCount,
|
||||||
i => db.Notes.Count(n => n.ReplyId == i.Id))
|
i => bgDb.Notes.Count(n => n.ReplyId == i.Id))
|
||||||
.SetProperty(i => i.RenoteCount,
|
.SetProperty(i => i.RenoteCount,
|
||||||
i => db.Notes.Count(n => n.RenoteId == i.Id &&
|
i => bgDb.Notes.Count(n => n.RenoteId == i.Id &&
|
||||||
n.IsPureRenote)));
|
n.IsPureRenote)));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue