Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix(api): send empty response

Carl-Gerhard Lindesvärd020ed5eb04d0
diff --git a/apps/api/src/controllers/track.controller.ts b/apps/api/src/controllers/track.controller.ts
index 398c59b4b..b42ca334f 100644
--- a/apps/api/src/controllers/track.controller.ts
+++ b/apps/api/src/controllers/track.controller.ts
@@ -257,7 +257,7 @@ export async function handler(
}
}
- reply.status(200).send('ok');
+ reply.status(200).send();
}
type TrackPayload = {