mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-10-04 07:09:58 +00:00
Prevent nesting workaround for level activity from messing with global activity
This commit is contained in:
parent
60d851fb15
commit
29e3f8661d
2 changed files with 4 additions and 4 deletions
|
@ -295,7 +295,7 @@ public class ActivityController : ControllerBase
|
|||
|
||||
[HttpGet("slot/{slotType}/{slotId:int}")]
|
||||
[HttpGet("user2/{username}")]
|
||||
public async Task<IActionResult> SlotActivity(string? slotType, int slotId, string? username, long? timestamp)
|
||||
public async Task<IActionResult> LocalActivity(string? slotType, int slotId, string? username, long? timestamp)
|
||||
{
|
||||
GameTokenEntity token = this.GetToken();
|
||||
|
||||
|
@ -344,6 +344,6 @@ public class ActivityController : ControllerBase
|
|||
return this.Ok(GameStream.CreateFromGroups(token,
|
||||
outerGroups,
|
||||
times.Start.ToUnixTimeMilliseconds(),
|
||||
oldestTimestamp));
|
||||
oldestTimestamp, isLevelActivity));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue