mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Refactor the check token endpoint to use the newly merged api endpoints.
This commit is contained in:
@@ -30,7 +30,7 @@ class OrgInviteApiClient(NotifyAdminAPIClient):
|
||||
return invited_users
|
||||
|
||||
def check_token(self, token):
|
||||
resp = self.get(url='/organisation-invitation/{}'.format(token))
|
||||
resp = self.get(url='/invite/organisation/{}'.format(token))
|
||||
return InvitedOrgUser(**resp['data'])
|
||||
|
||||
def cancel_invited_user(self, org_id, invited_user_id):
|
||||
|
||||
Reference in New Issue
Block a user