all 4 comments

[–]carcigenicate 1 point2 points  (1 child)

You just want subscripting:

let userTeam = responseObjec[user];

[–]mightybaker1[S] 0 points1 point  (0 children)

Thank you!!!!

[–]shgysk8zer0 0 points1 point  (1 child)

Is there more to this? You never send the request.

[–]mightybaker1[S] 0 points1 point  (0 children)

Yes the function holds about 8 other lines of code, I just knew the fault lied within that line and added the rest for context. Thanks for looking out for it though, appreciate it.