Merge branch 'main' into recent-activity

This commit is contained in:
Josh 2024-05-13 18:41:40 -05:00 committed by GitHub
commit 27cbb14a49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 145 additions and 3 deletions

View file

@ -180,7 +180,7 @@ public class UserController : ControllerBase
// Sometimes the update gets called periodically as pin progress updates via playing,
// may not affect equipped profile pins however, so check before setting it.
string currentPins = user.Pins;
string newPins = string.Join(",", pinJson.ProfilePins);
string newPins = string.Join(",", pinJson.ProfilePins.Distinct());
if (string.Equals(currentPins, newPins)) return this.Ok("[{\"StatusCode\":200}]");