diff --git a/libraries/nestjs-libraries/src/database/prisma/posts/posts.service.ts b/libraries/nestjs-libraries/src/database/prisma/posts/posts.service.ts index 80002293..e6f4728c 100644 --- a/libraries/nestjs-libraries/src/database/prisma/posts/posts.service.ts +++ b/libraries/nestjs-libraries/src/database/prisma/posts/posts.service.ts @@ -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() diff --git a/libraries/nestjs-libraries/src/services/stripe.service.ts b/libraries/nestjs-libraries/src/services/stripe.service.ts index a56da1c1..f9cb2010 100644 --- a/libraries/nestjs-libraries/src/services/stripe.service.ts +++ b/libraries/nestjs-libraries/src/services/stripe.service.ts @@ -307,7 +307,7 @@ export class StripeService { }, }, tos_acceptance: { - service_agreement: 'recipient', + service_agreement: 'full', }, metadata: { service: 'gitroom',