mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Manage user pages now surfaces invited users
fetched from api.
This commit is contained in:
@@ -47,6 +47,15 @@ def api_key_json(id_, name, expiry_date=None):
|
||||
'expiry_date': expiry_date
|
||||
}
|
||||
|
||||
|
||||
def invite_json(id, from_user, service_id, email_address):
|
||||
return {'id': id,
|
||||
'from_user': from_user,
|
||||
'service': service_id,
|
||||
'email_address': email_address,
|
||||
'status': 'pending'}
|
||||
|
||||
|
||||
TEST_USER_EMAIL = 'test@user.gov.uk'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user