Skip to content

Commit

Permalink
Fixed in missing a type annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Toomore Chiang <[email protected]>
  • Loading branch information
toomore committed Sep 7, 2023
1 parent ada5694 commit e45a235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/mattermost_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def put_users_patch(self, uid: str, position: str) -> Response:
}
return self.put(f'{self.base_url}/users/{uid}/patch', json=data)

def post_revoke_all_sessions_for_a_user(self, uid) -> Response:
def post_revoke_all_sessions_for_a_user(self, uid: str) -> Response:
''' Revoke all sessions for a user
Args:
Expand All @@ -217,7 +217,7 @@ def post_revoke_all_sessions_for_a_user(self, uid) -> Response:
'''
return self.post(f'{self.base_url}/users/{uid}/sessions/revoke/all')

def del_deactivate_user(self, uid) -> Response:
def del_deactivate_user(self, uid: str) -> Response:
''' Deactivate user account
Args:
Expand Down

0 comments on commit e45a235

Please sign in to comment.