From 48615762f7dde9b5e9d33cfbc978467bd93c0cc7 Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Sat, 21 Dec 2019 15:56:36 -0500 Subject: [PATCH] Small typo in last commit --- GeoffreyApp/api/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeoffreyApp/api/commands.py b/GeoffreyApp/api/commands.py index 70659a6..1c7d54d 100644 --- a/GeoffreyApp/api/commands.py +++ b/GeoffreyApp/api/commands.py @@ -156,7 +156,7 @@ def register(player_name, discord_uuid): if len(discord_uuid) != 0 and len(player.discord_uuid) == 0: player.discord_uuid = discord_uuid player.save() - return player + return player.json else: raise PlayerInDBError except PlayerNotFound: