feat: full service agreement

This commit is contained in:
Nevo David 2024-07-12 10:57:54 +07:00
parent 60f5136c69
commit 11db0bf975
2 changed files with 10 additions and 3 deletions

View File

@ -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()

View File

@ -307,7 +307,7 @@ export class StripeService {
},
},
tos_acceptance: {
service_agreement: 'recipient',
service_agreement: 'full',
},
metadata: {
service: 'gitroom',