fix: convert paths to an object
This commit is contained in:
parent
23b8c01d1c
commit
1c63497d2e
|
@ -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,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue