leaderboardsgg / leaderboard-backend

The backend for Leaderboards.gg. Also holds public-facing APIs.
https://info.leaderboards.gg
GNU General Public License v3.0
12 stars 16 forks source link

Login Endpoint #169

Closed zysim closed 1 year ago

zysim commented 1 year ago

Solves: #149

zysim commented 1 year ago

Actually; should we even bother with 422 in the first place? We could just do 400 for any malformed, empty, or otherwise invalid inputs.

TheTedder commented 1 year ago

Actually; should we even bother with 422 in the first place? We could just do 400 for any malformed, empty, or otherwise invalid inputs.

I think we're reserving 400 for invalid syntax; i.e., valid JSON never returns 400.