From e28887de459d0820c732bd4eed3c422a4b3aad90 Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Tue, 26 Sep 2023 16:02:01 +0200 Subject: [PATCH] :sparkles: Wrong name for folder anchor --- dist/Notary/OfficeFolder.d.ts | 2 +- dist/Notary/OfficeFolder.js | 4 ++-- src/Notary/OfficeFolder.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/Notary/OfficeFolder.d.ts b/dist/Notary/OfficeFolder.d.ts index 2902a46..38cd00a 100644 --- a/dist/Notary/OfficeFolder.d.ts +++ b/dist/Notary/OfficeFolder.d.ts @@ -19,5 +19,5 @@ export default class OfficeFolder extends OfficeFolderCustomer { stakeholders?: User[]; customers?: Customer[]; documents?: Document[]; - anchor?: OfficeFolderAnchor | null; + folder_anchor?: OfficeFolderAnchor | null; } diff --git a/dist/Notary/OfficeFolder.js b/dist/Notary/OfficeFolder.js index a5713a2..fe771b1 100644 --- a/dist/Notary/OfficeFolder.js +++ b/dist/Notary/OfficeFolder.js @@ -42,7 +42,7 @@ class OfficeFolder extends OfficeFolder_1.default { this.description = null; this.archived_description = null; this.status = EFolderStatus_1.default.LIVE; - this.anchor = null; + this.folder_anchor = null; } } __decorate([ @@ -121,5 +121,5 @@ __decorate([ (0, class_validator_1.ValidateNested)({ groups: ["updateFolder"] }), (0, class_transformer_1.Type)(() => Document_1.default), __metadata("design:type", Object) -], OfficeFolder.prototype, "anchor", void 0); +], OfficeFolder.prototype, "folder_anchor", void 0); exports.default = OfficeFolder; diff --git a/src/Notary/OfficeFolder.ts b/src/Notary/OfficeFolder.ts index f2e26b1..8891b42 100644 --- a/src/Notary/OfficeFolder.ts +++ b/src/Notary/OfficeFolder.ts @@ -74,5 +74,5 @@ export default class OfficeFolder extends OfficeFolderCustomer { @IsOptional({ groups: ["updateFolder"] }) @ValidateNested({ groups: ["updateFolder"] }) @Type(() => Document) - anchor?: OfficeFolderAnchor | null = null; + folder_anchor?: OfficeFolderAnchor | null = null; }