diff --git a/appstoreconnect/api.py b/appstoreconnect/api.py index 36085ca..b7192d9 100644 --- a/appstoreconnect/api.py +++ b/appstoreconnect/api.py @@ -452,8 +452,7 @@ def read_beta_group_information(self, beta_group_ip): def add_build_to_beta_group(self, beta_group_id, build_id): post_data = {'data': [{ 'id': build_id, 'type': 'builds'}]} - payload = self._api_call(BASE_API + "/v1/betaGroups/" + beta_group_id + "/relationships/builds", HttpMethod.POST, post_data) - return BetaGroup(payload.get('data'), {}) + self._api_call(BASE_API + "/v1/betaGroups/" + beta_group_id + "/relationships/builds", HttpMethod.POST, post_data) # App Resources def read_app_information(self, app_ip): diff --git a/setup.py b/setup.py index 6d1ea0f..23f2c88 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ REQUIRED = [ 'requests>=2.20.1,==2.*', 'PyJWT>=1.6.4,==1.*', - 'cryptography>=2.6.1,==2.*', + 'cryptography>=2.6.1', ] EXTRAS = {