Skip to content

Commit

Permalink
#34: Update endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Aug 29, 2019
1 parent 83754b4 commit c68d930
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/resources/table_endpoints/table_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ class InstrumentsFacilityCycles(Resource):
@requires_session_id
@queries_records
def get(self, id):
return list(
map(lambda x: x.to_dict(), get_facility_cycles_for_instrument(id, get_filters_from_query_string()))), 200
return get_facility_cycles_for_instrument(id, get_filters_from_query_string()), 200


class InstrumentsFacilityCyclesCount(Resource):
Expand Down

0 comments on commit c68d930

Please sign in to comment.