fix: convert paths to an object

This commit is contained in:
Derrick Hammer 2023-11-17 09:54:07 -05:00
parent 23b8c01d1c
commit 1c63497d2e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@ export default class WebAppMetadata extends Metadata {
}, },
{} as { [key: string]: string }, {} as { [key: string]: string },
), ),
paths: this.paths, paths: Object.fromEntries(
Object.entries(this.paths).map(([key, ref]) => [key, ref.toJson()]),
),
extraMetadata: this.extraMetadata, extraMetadata: this.extraMetadata,
}; };
} }