Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz committed Dec 11, 2023
1 parent 3d19772 commit 21b4f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/call-types.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ describe('call types CRUD API', () => {
let callType = (await client.video.listCallTypes()).call_types[
callTypeName
];
const userGrants = callType.grants['user'].filter(
const userGrants = callType.grants.user.filter(
(c) => c !== VideoOwnCapability.JOIN_CALL,
);
const callMemberGrants = callType.grants['call_member'];
const callMemberGrants = callType.grants.call_member;
if (!callMemberGrants.includes(VideoOwnCapability.JOIN_CALL)) {
callMemberGrants.push(VideoOwnCapability.JOIN_CALL);
}
Expand Down

0 comments on commit 21b4f92

Please sign in to comment.