mirror of
https://github.com/BlowaterNostr/blowater.git
synced 2024-10-18 07:33:22 +00:00
add missing await (#463)
This commit is contained in:
parent
1285dcb8f1
commit
60ff80dddf
@ -606,7 +606,7 @@ export async function handle_SendMessage(
|
||||
return events_send;
|
||||
}
|
||||
for (const event of events_send) {
|
||||
const result = args.current_relay.sendEvent(event);
|
||||
const result = await args.current_relay.sendEvent(event);
|
||||
if (result instanceof Error) {
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user