Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style(voiceNotes): collapse rpc call arguments onto one line

Steven Enamakel2af4e9c3a224
diff --git a/app/src/features/voiceNotes/voiceNoteApi.ts b/app/src/features/voiceNotes/voiceNoteApi.ts
index 1646d247a5..f0c5654225 100644
--- a/app/src/features/voiceNotes/voiceNoteApi.ts
+++ b/app/src/features/voiceNotes/voiceNoteApi.ts
@@ -97,10 +97,7 @@ export async function readVoiceNote(noteId: string): Promise<Blob | null> {
const response = await callCoreRpc<
| { audio_base64?: string | null; mime?: string | null }
| { result?: { audio_base64?: string | null; mime?: string | null } }
- >({
- method: 'openhuman.channel_web_voice_note_read',
- params: { note_id: noteId },
- });
+ >({ method: 'openhuman.channel_web_voice_note_read', params: { note_id: noteId } });
const result = unwrapVoiceNoteResult(response);
if (!result?.audio_base64) return null;
const bytes = base64ToBytes(result.audio_base64);