Skip to content

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

refactor(voiceNotes): inline media object in voice note content part

Steven Enamakel4c4d6a14e0b1
diff --git a/app/src/features/voiceNotes/voiceNoteApi.ts b/app/src/features/voiceNotes/voiceNoteApi.ts
index 4f53f35e85..9068f23f48 100644
--- a/app/src/features/voiceNotes/voiceNoteApi.ts
+++ b/app/src/features/voiceNotes/voiceNoteApi.ts
@@ -63,13 +63,7 @@ export async function voiceNoteContentPart(
durationMs,
waveform,
pushToTalk: false,
- media: {
- opaqueId: noteId,
- kind: 'audio',
- contentType,
- durationMs,
- sizeBytes: blob.size,
- },
+ media: { opaqueId: noteId, kind: 'audio', contentType, durationMs, sizeBytes: blob.size },
},
};
}