Skip to content

Commit f9e199f

Browse files
committed
Touch up
1 parent 5566efa commit f9e199f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driftbase/api/clients.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def post(self, args):
205205
payload = dict(current_user)
206206
payload["client_id"] = client_id
207207
new_token = issue_token(payload)
208-
token = split_token(new_token["token"])[-1]
208+
_, token = split_token(new_token["token"])
209209

210210
resource_url = url_client(client_id)
211211
log.info("Client %s for user %s / player %s has been registered",

0 commit comments

Comments
 (0)