|
@@ -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')
|