Small typo in last commit

doc_update
Joey Hines 2019-12-21 15:56:36 -05:00
parent c6fadd4a00
commit 48615762f7
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ def register(player_name, discord_uuid):
if len(discord_uuid) != 0 and len(player.discord_uuid) == 0: if len(discord_uuid) != 0 and len(player.discord_uuid) == 0:
player.discord_uuid = discord_uuid player.discord_uuid = discord_uuid
player.save() player.save()
return player return player.json
else: else:
raise PlayerInDBError raise PlayerInDBError
except PlayerNotFound: except PlayerNotFound: