This commit is contained in:
王炜翔 2024-10-21 22:47:37 +08:00
parent 0006226370
commit 47b7d79462

View File

@ -150,7 +150,7 @@ namespace asg_form.Controllers
var invited = await userManager.Users.FirstOrDefaultAsync(u => u.Id == record.invited_id);
var theGame = sub.team_Games.FirstOrDefault(i => i.id == record.match_id);
if (theGame == null) return Ok(new { code = 200, message = "没有比赛资料" });
if (theGame == null) continue;
var addData = new InviteForUsers
{
id = record.id,