feat: is connected

This commit is contained in:
Nevo David 2025-07-08 22:35:24 +07:00
parent a267bfe5dd
commit 24e381ac8f
1 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,11 @@ export class PublicIntegrationsController {
return this._postsService.deletePost(org.id, getPostById.group);
}
@Get('/is-connected')
async getActiveIntegrations(@GetOrgFromRequest() org: Organization) {
return {connected: true};
}
@Get('/integrations')
async listIntegration(@GetOrgFromRequest() org: Organization) {
return (await this._integrationService.getIntegrationsList(org.id)).map(