Explorar el Código

Revert "develop-0520"

This reverts commit 7b327448
luojunhui hace 5 meses
padre
commit
1ec06dcb8a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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')