Skip to content

Commit

Permalink
Unify response format on facility endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
NaniteBased committed Jul 17, 2020
1 parent 203eafb commit 992bdc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scheduler/facility/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def facilityTestCases():
@bp.route('/baseSliceDescriptors')
def baseSliceDescriptors():
sliceManager = Management.SliceManager()
return jsonify(sliceManager.GetBaseSliceDescriptors())
return jsonify({"SliceDescriptors": sliceManager.GetBaseSliceDescriptors()})


@bp.route('/scenarios')
Expand Down

0 comments on commit 992bdc1

Please sign in to comment.