Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes #7 remove no needed post method
  • Loading branch information
Angeluz-07 committed Mar 11, 2020
commit 4dbe6fba0c37009013a4230cf88e6ab357873f67
10 changes: 1 addition & 9 deletions time_tracker_api/technologies/technologies_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,11 @@ def get(self, uid):
"""Retrieve a technology"""
return {}

@ns.doc('update_technology_status')
@ns.param('uid', 'The technology identifier')
@ns.expect(technology)
@ns.response(204, 'State of the technology successfully updated')
def post(self, uid):
"""Updates a technology using form data"""
return ns.payload()

@ns.doc('put_technology')
@ns.expect(technology)
@ns.marshal_with(technology_response)
def put(self, uid):
"""Create or replace a technology"""
"""Updates a technology"""
return ns.payload()

@ns.doc('delete_technology')
Expand Down