From 4c460b2d33084f99b904cbf62c7d96b5b7e68f58 Mon Sep 17 00:00:00 2001 From: OxSaitama Date: Fri, 29 Sep 2023 18:22:32 +0200 Subject: [PATCH] fix folder_anchor type --- src/Notary/OfficeFolder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Notary/OfficeFolder.ts b/src/Notary/OfficeFolder.ts index 397cf43..ae74935 100644 --- a/src/Notary/OfficeFolder.ts +++ b/src/Notary/OfficeFolder.ts @@ -73,6 +73,6 @@ export default class OfficeFolder extends OfficeFolderCustomer { @Expose() @IsOptional({ groups: ["updateFolder"] }) @ValidateNested({ groups: ["updateFolder"] }) - @Type(() => Document) + @Type(() => OfficeFolderAnchor) folder_anchor?: OfficeFolderAnchor | null = null; }