Skip to content

Commit

Permalink
feat: Adds support for setting due_date when upserting language var…
Browse files Browse the repository at this point in the history
…iant
  • Loading branch information
Enngage committed Jul 11, 2024
1 parent 5a7df98 commit 34cc81b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/contracts/language-variant-contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export namespace LanguageVariantContracts {
export interface IUpsertLanguageVariantPostContract {
elements: LanguageVariantElements.ILanguageVariantElementBase[];
workflow?: ILanguageVariantWorkflowContract;
due_date?: ILanguageVariantDueDate;
}
export interface IListLanguageVariantsOfContentTypeWithComponentsResponseContract {
variants: ILanguageVariantModelsContract[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ describe('Upsert language variant', () => {
workflow_identifier: {
codename: 'x'
}
},
due_date: {
value: null
}
};
})
Expand Down

0 comments on commit 34cc81b

Please sign in to comment.