Skip to content

Commit 467f440

Browse files
committed
TT-94 feat: remove todos
1 parent 020585c commit 467f440

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

time_tracker_api/users/users_namespace.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ def get(self):
6060
return AzureConnection().users()
6161

6262

63-
# TODO : DEPRECATE
6463
@ns.route('/<string:id>/roles')
6564
@ns.response(HTTPStatus.NOT_FOUND, 'User not found')
6665
@ns.response(HTTPStatus.UNPROCESSABLE_ENTITY, 'The id has an invalid format')
@@ -77,7 +76,6 @@ def post(self, id):
7776
return AzureConnection().update_user_role(id, ns.payload['role'])
7877

7978

80-
# TODO : DEPRECATE
8179
@ns.route('/<string:user_id>/roles/<string:role_id>')
8280
@ns.response(HTTPStatus.NOT_FOUND, 'User not found')
8381
@ns.response(HTTPStatus.UNPROCESSABLE_ENTITY, 'The id has an invalid format')

utils/azure_users.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ def users(self) -> List[AzureUser]:
9191
assert 'value' in response.json()
9292
return [self.to_azure_user(item) for item in response.json()['value']]
9393

94-
# TODO : DEPRECATE
9594
def update_user_role(self, id, role):
9695
endpoint = "{endpoint}/users/{user_id}?api-version=1.6".format(
9796
endpoint=self.config.ENDPOINT, user_id=id

0 commit comments

Comments
 (0)