Skip to content

Commit 21b4f92

Browse files
committed
chore: fix lint
1 parent 3d19772 commit 21b4f92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/call-types.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ describe('call types CRUD API', () => {
8585
let callType = (await client.video.listCallTypes()).call_types[
8686
callTypeName
8787
];
88-
const userGrants = callType.grants['user'].filter(
88+
const userGrants = callType.grants.user.filter(
8989
(c) => c !== VideoOwnCapability.JOIN_CALL,
9090
);
91-
const callMemberGrants = callType.grants['call_member'];
91+
const callMemberGrants = callType.grants.call_member;
9292
if (!callMemberGrants.includes(VideoOwnCapability.JOIN_CALL)) {
9393
callMemberGrants.push(VideoOwnCapability.JOIN_CALL);
9494
}

0 commit comments

Comments
 (0)