SprocketBot / sprocket

Sprocket is a platform to manage and automate organized Esports leagues
MIT License
14 stars 1 forks source link

Fix: Some franchise staff unable to submit or ratify matches #507

Closed gankoji closed 1 year ago

gankoji commented 1 year ago

Bug was discovered by MLE user Jdogg, who is a blizzard captain but couldn't submit/ratify. Logs showed:

image

Jdogg is one of a handful of captains who have this issue. Discovered that all players with this issue (correct perms, but still unable) had a mismatch between their Sprocket UserId and MemberId (not designed to match, but by happenstance often do for 80%+ of the current userbase). Explicitly getting UserId from the Member table for a given player fixes this.

ItsMeBrianD commented 1 year ago

Looks like this branch is polluted, is that intentional?

gankoji commented 1 year ago

Looks like this branch is polluted, is that intentional?

fixed XD