Skip to content

Commit 4dbe6fb

Browse files
committed
Fixes #7 remove no needed post method
1 parent 3cee248 commit 4dbe6fb

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

time_tracker_api/technologies/technologies_api.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,11 @@ def get(self, uid):
6565
"""Retrieve a technology"""
6666
return {}
6767

68-
@ns.doc('update_technology_status')
69-
@ns.param('uid', 'The technology identifier')
70-
@ns.expect(technology)
71-
@ns.response(204, 'State of the technology successfully updated')
72-
def post(self, uid):
73-
"""Updates a technology using form data"""
74-
return ns.payload()
75-
7668
@ns.doc('put_technology')
7769
@ns.expect(technology)
7870
@ns.marshal_with(technology_response)
7971
def put(self, uid):
80-
"""Create or replace a technology"""
72+
"""Updates a technology"""
8173
return ns.payload()
8274

8375
@ns.doc('delete_technology')

0 commit comments

Comments
 (0)