8000 wrong reservation status changed · bcorwin/twilio-python@b37a9c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit b37a9c1

Browse files
committed
wrong reservation status changed
1 parent 55c4188 commit b37a9c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

twilio/task_router/capability/task_router_capability.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ def allow_task_reservation_updates(self):
113113
tasks_url,
114114
'POST',
115115
True,
116-
post_filter = {'ReservationStatus': REQUIRED},
117116
)
118117
)
119118
else:
@@ -153,7 +152,8 @@ def allow_activity_updates(self):
153152
self.policies.append(self.make_policy(
154153
self.resource_url,
155154
'POST',
156-
True
155+
True,
156+
post_filter = {'ActivitySid': REQUIRED}
157157
)
158158
)
159159
def allow_reservation_updates(self):

0 commit comments

Comments
 (0)
0