Skip to content

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

feat: fix missing image

Nevo David5a333a06b952
diff --git a/apps/backend/src/api/routes/integrations.controller.ts b/apps/backend/src/api/routes/integrations.controller.ts
index 5393f3859..da43888a4 100644
--- a/apps/backend/src/api/routes/integrations.controller.ts
+++ b/apps/backend/src/api/routes/integrations.controller.ts
@@ -275,9 +275,9 @@ export class IntegrationsController {
await this._integrationService.insertMentions(
getIntegration.providerIdentifier,
newList.map((p: any) => ({
- name: p.label,
- username: p.id,
- image: p.image,
+ name: p.label || '',
+ username: p.id || '',
+ image: p.image || '',
})).filter((f: any) => f.name)
);
}