mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-10-04 23:30:23 +00:00
Fix LBP3 playlist recent activity
This commit is contained in:
parent
2219373616
commit
1820425038
7 changed files with 59 additions and 45 deletions
|
@ -131,7 +131,9 @@ public class ScoreController : ControllerBase
|
|||
|
||||
await this.database.SaveChangesAsync();
|
||||
|
||||
ScoreEntity? existingScore = await this.database.Scores.Where(s => s.SlotId == slot.SlotId)
|
||||
ScoreEntity? existingScore = await this.database.Scores
|
||||
.Include(s => s.Slot)
|
||||
.Where(s => s.SlotId == slot.SlotId)
|
||||
.Where(s => s.ChildSlotId == 0 || s.ChildSlotId == childId)
|
||||
.Where(s => s.UserId == token.UserId)
|
||||
.Where(s => s.Type == score.Type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue