Skip to content

Commit

Permalink
#34: Add resources to api
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Aug 29, 2019
1 parent 127e6be commit 3ffa3fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@
api.add_resource(InstrumentsFacilityCycles, "/instruments/<int:id>/facilityCycles")
api.add_resource(InstrumentsFacilityCyclesCount, "/instruments/<int:id>/facilityCycles/count")
api.add_resource(InstrumentsFacilityCyclesInvestigations,
"/instruments/<string:instrument_id>/facilityCycles<int:cycle_id>/investigations")
"/instruments/<int:instrument_id>/facilityCycles/<int:cycle_id>/investigations")
api.add_resource(InstrumentsFacilityCyclesInvestigationsCount,
"/instruments/<string:instrument_id>/facilityCycles<int:cycle_id>/investigations/count")
"/instruments/<int:instrument_id>/facilityCycles/<int:cycle_id>/investigations/count")

if __name__ == "__main__":
app.run(debug=config.is_debug_mode())

0 comments on commit 3ffa3fa

Please sign in to comment.