Fixed obvious lack of knowledge in django.
This commit is contained in:
parent
a6a56439b2
commit
024636e07f
@ -54,7 +54,7 @@ def games(request):
|
||||
|
||||
@api_view(['GET'])
|
||||
def game(request):
|
||||
player_ids = request.data.get("players")
|
||||
player_ids = request.data.getlist("players")
|
||||
players = list()
|
||||
for player in player_ids:
|
||||
# This doesn't support multiple accounts for each user, refer to issue #8
|
||||
|
Loading…
x
Reference in New Issue
Block a user