8000 removed too much · Stackdriver/twilio-python@bbb814f · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 1, 2018. It is now read-only.

Commit bbb814f

Browse files
committed
removed too much
1 parent 867a286 commit bbb814f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

twilio/rest/resources.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ def list(self, **kwargs):
11581158
"""
11591159
return self.get_instances(kwargs)
11601160

1161-
def dequeue(self, url, call_sid='Front'):
1161+
def dequeue(self, url, call_sid='Front', **kwargs):
11621162
"""
11631163
Dequeues a member from the queue and have the member's call
11641164
begin executing the TwiML document at the url.
@@ -1167,7 +1167,8 @@ def dequeue(self, url, call_sid='Front'):
11671167
the member at the front of the queue will be used
11681168
:param url: url of the TwiML document to be executed.
11691169
"""
1170-
return self.update_instance(call_sid, {"url":url})
1170+
kwargs['url'] = url
1171+
return self.update_instance(call_sid, kwargs)
11711172

11721173

11731174
class Queue(InstanceResource):

0 commit comments

Comments
 (0)
0