feat: is connected
This commit is contained in:
parent
a267bfe5dd
commit
24e381ac8f
|
|
@ -84,6 +84,11 @@ export class PublicIntegrationsController {
|
||||||
return this._postsService.deletePost(org.id, getPostById.group);
|
return this._postsService.deletePost(org.id, getPostById.group);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Get('/is-connected')
|
||||||
|
async getActiveIntegrations(@GetOrgFromRequest() org: Organization) {
|
||||||
|
return {connected: true};
|
||||||
|
}
|
||||||
|
|
||||||
@Get('/integrations')
|
@Get('/integrations')
|
||||||
async listIntegration(@GetOrgFromRequest() org: Organization) {
|
async listIntegration(@GetOrgFromRequest() org: Organization) {
|
||||||
return (await this._integrationService.getIntegrationsList(org.id)).map(
|
return (await this._integrationService.getIntegrationsList(org.id)).map(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue