mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-03 15:41:06 -04:00
Slight changes to match new API features:
- get user now throws a 404 so handle that - making a service now needs one user not many to create
This commit is contained in:
@@ -24,7 +24,7 @@ class NotificationsAdminAPIClient(NotificationsAPIClient):
|
||||
"name": service_name,
|
||||
"active": active,
|
||||
"limit": limit,
|
||||
"users": [user_id],
|
||||
"user_id": user_id,
|
||||
"restricted": restricted
|
||||
}
|
||||
return self.post("/service", data)
|
||||
|
||||
Reference in New Issue
Block a user