Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-05-14 19:02:14 +00:00
parent 06be3502f9
commit a516e1bf69
+1 -1
View File
@@ -55,7 +55,7 @@ export async function sendSignal(channel: RealtimeChannel, msg: SignalMessage) {
const response = await channel.send({ type: 'broadcast', event: 'signal', payload: msg });
if (response !== 'ok') {
const restResponse = await channel.httpSend('signal', msg);
if (!restResponse.success) throw new Error(restResponse.error);
if (restResponse.success === false) throw new Error(restResponse.error);
}
}