Merge pull request #271 from alphagov/remove-dao-layer

Start to remove the dao layer
This commit is contained in:
NIcholas Staples
2016-03-14 09:42:22 +00:00
5 changed files with 13 additions and 20 deletions

View File

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