mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-02 18:18:39 +00:00
add favourite users total thingy
This commit is contained in:
parent
cdd3ece718
commit
a78623b6ab
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers
|
|||
|
||||
string response = heartedProfiles.Aggregate(string.Empty, (current, q) => current + q.HeartedUser.Serialize(token.GameVersion));
|
||||
|
||||
return this.Ok(LbpSerializer.TaggedStringElement("favouriteUsers", response, "total", 1));
|
||||
return this.Ok(LbpSerializer.TaggedStringElement("favouriteUsers", response, "total", heartedProfiles.Count()));
|
||||
}
|
||||
|
||||
[HttpPost("favourite/user/{username}")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue