Skip to content

Commit

Permalink
switch to array
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser committed Sep 20, 2024
1 parent 8a1c2d0 commit 6cd41ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/oas/medusa-oas-cli/src/command-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ ${hint}
const originalContent = await readYaml(redoclyConfigPath) as CircularReferenceConfig
Object.keys(recommendation).forEach((recKey) => {
originalContent.decorators["medusa/circular-patch"].schemas[recKey] = [
...(originalContent.decorators["medusa/circular-patch"].schemas[recKey] || {}),
...(originalContent.decorators["medusa/circular-patch"].schemas[recKey] || []),
...recommendation[recKey]
]
})
Expand Down

0 comments on commit 6cd41ec

Please sign in to comment.