fix lint
This commit is contained in:
@@ -246,8 +246,15 @@ export const DeveloperSettingsTab: FC<Props> = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
const userId = client.getUserId();
|
||||||
|
const deviceId = client.getDeviceId();
|
||||||
|
|
||||||
|
if (userId === null || deviceId === null) {
|
||||||
|
throw new Error("Invalid user or device ID");
|
||||||
|
}
|
||||||
await getSFUConfigWithOpenID(
|
await getSFUConfigWithOpenID(
|
||||||
client,
|
client,
|
||||||
|
{ userId, deviceId, memberId: "" },
|
||||||
customLivekitUrlTextBuffer,
|
customLivekitUrlTextBuffer,
|
||||||
roomId,
|
roomId,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user