Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(soup): notifications on items not being consumed properly (#5245)

dev-rb2a03481b80b3
diff --git a/apps/web/src/lib/service-clients/service-storage/graphql-soup.ts b/apps/web/src/lib/service-clients/service-storage/graphql-soup.ts
index 51b15a1011..bcf850ddd5 100644
--- a/apps/web/src/lib/service-clients/service-storage/graphql-soup.ts
+++ b/apps/web/src/lib/service-clients/service-storage/graphql-soup.ts
@@ -306,7 +306,10 @@ function mapGraphqlNotifications(notifications: GraphqlSoupNotification[]) {
return notifications.map((notification) => ({
id: notification.id,
notification_event_type: notification.eventType,
- notification_metadata: notification.metadata,
+ notification_metadata: {
+ tag: notification.eventType,
+ content: notification.metadata,
+ },
entity_id: notification.entityId,
entity_type: mapGraphqlNotificationEntityType(notification.entityType),
sent: notification.sent,