Skip to content

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

feat: public list integrations

Nevo David70be520c0bfe
diff --git a/apps/backend/src/api/routes/integrations.controller.ts b/apps/backend/src/api/routes/integrations.controller.ts
index 3c681245a..7463136af 100644
--- a/apps/backend/src/api/routes/integrations.controller.ts
+++ b/apps/backend/src/api/routes/integrations.controller.ts
@@ -42,10 +42,6 @@ export class IntegrationsController {
private _postService: PostsService,
private _refreshIntegrationService: RefreshIntegrationService
) {}
- @Get('/')
- getIntegrations() {
- return this._integrationManager.getAllIntegrations();
- }
@Get('/:identifier/internal-plugs')
getInternalPlugs(@Param('identifier') identifier: string) {
diff --git a/apps/backend/src/api/routes/no.auth.integrations.controller.ts b/apps/backend/src/api/routes/no.auth.integrations.controller.ts
index 673e77e7b..9b51c81ed 100644
--- a/apps/backend/src/api/routes/no.auth.integrations.controller.ts
+++ b/apps/backend/src/api/routes/no.auth.integrations.controller.ts
@@ -1,6 +1,7 @@
import {
Body,
Controller,
+ Get,
HttpException,
Param,
Post,
@@ -33,6 +34,11 @@ export class NoAuthIntegrationsController {
private _organizationService: OrganizationService
) {}
+ @Get('/')
+ getIntegrations() {
+ return this._integrationManager.getAllIntegrations();
+ }
+
@Post('/social-connect/:integration')
@CheckPolicies([AuthorizationActions.Create, Sections.CHANNEL])
@UseFilters(new NotEnoughScopesFilter())