Skip to content

Commit f0ab491

Browse files
authored
chore: fix typo (#168)
1 parent e48f890 commit f0ab491

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

__tests__/call.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ describe('call API', () => {
205205
});
206206

207207
it('generate SRT credentials', () => {
208-
const creds = call.createSRTCredetials('john');
208+
const call = client.video.call('default', `call${uuidv4()}`);
209+
const creds = call.createSRTCredentials('john');
209210

210211
expect(creds).toBeDefined();
211212
expect(creds.address).toBeDefined();

src/StreamCall.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class StreamCall extends CallApi {
4646
return response;
4747
};
4848

49-
createSRTCredetials = (
49+
createSRTCredentials = (
5050
userID: string,
5151
): {
5252
address: string;

0 commit comments

Comments
 (0)