Browse Source

Revert "develop-0520"

This reverts commit 7b327448
luojunhui 1 month ago
parent
commit
1ec06dcb8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pqai_agent_server/api_server.py

+ 1 - 1
pqai_agent_server/api_server.py

@@ -31,7 +31,7 @@ def list_staffs():
 
 @app.route('/api/getStaffProfile', methods=['GET'])
 def get_staff_profile():
-    staff_id = request.args["staff_id"]
+    staff_id = request.args['staff_id']
     profile = app.user_manager.get_staff_profile(staff_id)
     if not profile:
         return wrap_response(404, msg='staff not found')