Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

feat: full service agreement

Nevo David11db0bf97516
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 800022938..e6f4728cb 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 a56da1c1e..f9cb20106 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',