Refactor the check token endpoint to use the newly merged api endpoints.

This commit is contained in:
Rebecca Law
2018-02-26 11:50:40 +00:00
parent 803c195947
commit 298eb77b54
2 changed files with 2 additions and 2 deletions

View File

@@ -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):