π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: urgent fix for instagram
Nevo David4d926edb736c
diff --git a/apps/frontend/src/components/launches/providers/instagram/instagram.collaborators.tsx b/apps/frontend/src/components/launches/providers/instagram/instagram.collaborators.tsxindex 6312836c6..befe797f0 100644--- a/apps/frontend/src/components/launches/providers/instagram/instagram.collaborators.tsx+++ b/apps/frontend/src/components/launches/providers/instagram/instagram.collaborators.tsx@@ -37,7 +37,9 @@ const InstagramCollaborators: FC<{ values?: any }> = (props) => {{postCurrentType !== 'story' && (<InstagramCollaboratorsTagslabel="Collaborators (max 3) - accounts can't be private"- {...register('collaborators')}+ {...register('collaborators', {+ value: []+ })}/>)}</>diff --git a/libraries/nestjs-libraries/src/dtos/posts/providers-settings/instagram.dto.ts b/libraries/nestjs-libraries/src/dtos/posts/providers-settings/instagram.dto.tsindex 49e5cc4fa..956d677b5 100644--- a/libraries/nestjs-libraries/src/dtos/posts/providers-settings/instagram.dto.ts+++ b/libraries/nestjs-libraries/src/dtos/posts/providers-settings/instagram.dto.ts@@ -1,5 +1,5 @@import { Type } from 'class-transformer';-import { IsArray, IsDefined, IsIn, IsString, ValidateNested } from 'class-validator';+import { IsArray, IsDefined, IsIn, IsString, ValidateNested, IsOptional } from 'class-validator';export class Collaborators {@IsDefined()@@ -14,5 +14,6 @@ export class InstagramDto {@Type(() => Collaborators)@ValidateNested({ each: true })@IsArray()+ @IsOptional()collaborators: Collaborators[];}