diff --git a/src/app/api/notary/OfficeFolderAnchorsController.ts b/src/app/api/notary/OfficeFolderAnchorsController.ts index f43c28d8..459f19f4 100644 --- a/src/app/api/notary/OfficeFolderAnchorsController.ts +++ b/src/app/api/notary/OfficeFolderAnchorsController.ts @@ -87,7 +87,7 @@ export default class OfficeFoldersController extends ApiController { } const sortedHashes = [...folderHashes].sort(); - const anchoringProof = await this.secureService.download(sortedHashes, officeFolder.name); + const anchoringProof = await this.secureService.download(sortedHashes, officeFolder.office!.name); const addFileToZip = (zip: Zip) => (uid: string): Promise => (async () => {