Skip to content
Snippets Groups Projects
Commit 024d65ee authored by David Trattnig's avatar David Trattnig
Browse files

Fixed schedule API URL.

parent 336bf164
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ class EngineApi: ...@@ -107,7 +107,7 @@ class EngineApi:
self.api.add_resource(CurrentTrackResource, config.api_prefix + "/trackservice/current") self.api.add_resource(CurrentTrackResource, config.api_prefix + "/trackservice/current")
self.api.add_resource(TracksByDayResource, config.api_prefix + "/trackservice/date/<string:date_string>") self.api.add_resource(TracksByDayResource, config.api_prefix + "/trackservice/date/<string:date_string>")
self.api.add_resource(ReportResource, config.api_prefix + "/report/<string:year_month>") self.api.add_resource(ReportResource, config.api_prefix + "/report/<string:year_month>")
self.api.add_resource(UpcomingSchedulesResource, config.api_prefix + "/upcoming") self.api.add_resource(UpcomingSchedulesResource, config.api_prefix + "/schedule/upcoming")
self.logger.info("Engine API routes successfully set!") self.logger.info("Engine API routes successfully set!")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment