We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d19772 commit 21b4f92Copy full SHA for 21b4f92
__tests__/call-types.test.ts
@@ -85,10 +85,10 @@ describe('call types CRUD API', () => {
85
let callType = (await client.video.listCallTypes()).call_types[
86
callTypeName
87
];
88
- const userGrants = callType.grants['user'].filter(
+ const userGrants = callType.grants.user.filter(
89
(c) => c !== VideoOwnCapability.JOIN_CALL,
90
);
91
- const callMemberGrants = callType.grants['call_member'];
+ const callMemberGrants = callType.grants.call_member;
92
if (!callMemberGrants.includes(VideoOwnCapability.JOIN_CALL)) {
93
callMemberGrants.push(VideoOwnCapability.JOIN_CALL);
94
}
0 commit comments