Skip to content

Commit e224a24

Browse files
author
teds-lin
committed
[修改] fix typo
1 parent c7b0465 commit e224a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,4 +190,4 @@ def start_game(current_user, nickname):
190190
@app.route("/me", methods=["GET"])
191191
@jwt_required
192192
def get_user_info(current_user, nickname):
193-
return jsonify({"player_ids": current_user, "player_nickname": nickname}), 200
193+
return jsonify({"player_id": current_user, "player_nickname": nickname}), 200

0 commit comments

Comments
 (0)