Skip to content

Commit 9853056

Browse files
authored
Update to pass correct argument
1 parent 3e2cf41 commit 9853056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest/making-calls/example-4/example-4.3.x.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ client.calls.create({
1111
from: '+18668675309',
1212
statusCallback: 'https://www.myapp.com/events',
1313
statusCallbackMethod: 'POST',
14-
statusCallbackEvent: ['initiated', 'ringing', 'answered', 'completed'],
14+
statusCallbackEvent: 'initiated ringing answered completed',
1515
method: 'GET',
1616
})
1717
.then((call) => process.stdout.write(call.sid));

0 commit comments

Comments
 (0)