feat: full service agreement
This commit is contained in:
parent
60f5136c69
commit
11db0bf975
|
|
@ -199,7 +199,10 @@ export class PostsService {
|
|||
integration.id
|
||||
);
|
||||
|
||||
await this._integrationService.informAboutRefreshError(integration.organizationId, integration);
|
||||
await this._integrationService.informAboutRefreshError(
|
||||
integration.organizationId,
|
||||
integration
|
||||
);
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
@ -531,7 +534,11 @@ export class PostsService {
|
|||
async generatePostsDraft(orgId: string, body: CreateGeneratedPostsDto) {
|
||||
const getAllIntegrations = (
|
||||
await this._integrationService.getIntegrationsList(orgId)
|
||||
).filter((f) => !f.disabled && f.providerIdentifier !== 'reddit');
|
||||
).filter(
|
||||
(f) =>
|
||||
!f.disabled &&
|
||||
f.providerIdentifier !== 'reddit'
|
||||
);
|
||||
|
||||
// const posts = chunk(body.posts, getAllIntegrations.length);
|
||||
const allDates = dayjs()
|
||||
|
|
|
|||
|
|
@ -307,7 +307,7 @@ export class StripeService {
|
|||
},
|
||||
},
|
||||
tos_acceptance: {
|
||||
service_agreement: 'recipient',
|
||||
service_agreement: 'full',
|
||||
},
|
||||
metadata: {
|
||||
service: 'gitroom',
|
||||
|
|
|
|||
Loading…
Reference in New Issue