mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Merge pull request #271 from alphagov/remove-dao-layer
Start to remove the dao layer
This commit is contained in:
@@ -27,7 +27,7 @@ class NotificationsAdminAPIClient(NotificationsAPIClient):
|
||||
"user_id": user_id,
|
||||
"restricted": restricted
|
||||
}
|
||||
return self.post("/service", data)
|
||||
return self.post("/service", data)['data']['id']
|
||||
|
||||
def delete_service(self, service_id):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user