From 98169550d8b714fd7d6056106f128d59a4f244db Mon Sep 17 00:00:00 2001 From: Adam Shimali Date: Tue, 1 Mar 2016 17:32:04 +0000 Subject: [PATCH] [WIP] no data needed for post to create add user to service --- app/notify_client/user_api_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/notify_client/user_api_client.py b/app/notify_client/user_api_client.py index b1054f769..d6a4ad574 100644 --- a/app/notify_client/user_api_client.py +++ b/app/notify_client/user_api_client.py @@ -90,5 +90,5 @@ class UserApiClient(BaseAPIClient): def add_user_to_service(self, service_id, user_id): endpoint = '/service/{}/users/{}'.format(service_id, user_id) - resp = self.post(endpoint) + resp = self.post(endpoint, data={}) return User(resp['data'], max_failed_login_count=self.max_failed_login_count)