These are no longer used, so warn people who do want to edit them.
I don't foresee these getting removed soon though, as we do want to kick
players on old versions for having an old game version
[HttpGet]
public IActionResult Index(int mapId, GameKeywords lang, int numImpostors, [FromHeader] AuthenticationHeaderValue authorization)
{
+ // NOTE: this method is no longer used by Among Us 16.0.0 and is only kept for backwards compatibility
if (authorization.Scheme != "Bearer" || authorization.Parameter == null)
{
return BadRequest();
[HttpPost]
public IActionResult Post(int gameId)
{
+ // NOTE: this method is no longer used by Among Us 16.0.0 and is only kept for backwards compatibility
var code = new GameCode(gameId);
var game = _gameManager.Find(code);