Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

improve: sentry metrics

Enno Gelhaus9a29793e2c43
diff --git a/apps/backend/src/api/routes/posts.controller.ts b/apps/backend/src/api/routes/posts.controller.ts
index 8f06b6a19..a05cf7021 100644
--- a/apps/backend/src/api/routes/posts.controller.ts
+++ b/apps/backend/src/api/routes/posts.controller.ts
@@ -218,11 +218,6 @@ export class PostsController {
) {
return (async () => {
const res = await this._postsService.changeDate(org.id, id, date, action);
- if (action === 'schedule') {
- try {
- Sentry.metrics.count('posts.scheduled', 1, { attributes: { scheduleType: action } } as any);
- } catch (e) {}
- }
return res;
})();