Skip to content

Commit 51408e8

Browse files
authored
Merge pull request #2 from linear-b/add-fullresponse-delete-subs
return fullresponse from delete_subscription
2 parents d0c1b74 + 5d0e931 commit 51408e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

azure-devops/azure/devops/v6_0/service_hooks/service_hooks_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,11 @@ def delete_subscription(self, subscription_id):
303303
route_values = {}
304304
if subscription_id is not None:
305305
route_values['subscriptionId'] = self._serialize.url('subscription_id', subscription_id, 'str')
306-
self._send(http_method='DELETE',
306+
response = self._send(http_method='DELETE',
307307
location_id='fc50d02a-849f-41fb-8af1-0a5216103269',
308308
version='6.0-preview.1',
309309
route_values=route_values)
310+
return FullResponse(None, response)
310311

311312
def get_subscription(self, subscription_id):
312313
"""GetSubscription.

0 commit comments

Comments
 (0)