We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 287496e commit 5153909Copy full SHA for 5153909
time_tracker_api/time_entries/time_entry_api.py
@@ -112,7 +112,7 @@ def put(self, id):
112
return ns.payload
113
114
115
-@ns.route('<string:id>/stop')
+@ns.route('/<string:id>/stop')
116
@ns.response(404, 'Running time entry not found')
117
@ns.param('id', 'The unique identifier of a running time entry')
118
class StopTimeEntry(Resource):
@@ -123,7 +123,7 @@ def post(self, id):
123
return None, 204
124
125
126
-@ns.route('<string:id>/continue')
+@ns.route('/<string:id>/continue')
127
@ns.response(404, 'Stopped time entry not found')
128
@ns.param('id', 'The unique identifier of a stopped time entry')
129
class ContinueTimeEntry(Resource):
0 commit comments