dont stringify more than needed

This commit is contained in:
Darius
2026-02-05 23:48:32 +01:00
parent 419ec65cc6
commit 40c8f144b5

View File

@@ -26,7 +26,7 @@ export async function sseRoutes(
const clientId = randomUUID(); const clientId = randomUUID();
const sendEvent = (data: SseEvent) => { const sendEvent = (data: SseEvent) => {
reply.sse.send({ reply.sse.send({
data: JSON.stringify(data), data: data,
}); });
}; };