mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-04 08:01:34 -04:00
use new check api endpoints for validating invite tokens
added in https://github.com/alphagov/notifications-api/pull/3171
This commit is contained in:
@@ -34,7 +34,7 @@ class OrgInviteApiClient(NotifyAdminAPIClient):
|
||||
)['data']
|
||||
|
||||
def check_token(self, token):
|
||||
resp = self.get(url='/invite/organisation/{}'.format(token))
|
||||
resp = self.get(url='/invite/organisation/check/{}'.format(token))
|
||||
return resp['data']
|
||||
|
||||
def cancel_invited_user(self, org_id, invited_user_id):
|
||||
|
||||
Reference in New Issue
Block a user