Skip to content

Commit

Permalink
fix: amplify uris for package [DEVOP-331] (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippeauriach authored Nov 14, 2024
1 parent 7736d93 commit 8d34e4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/actions/amplify.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ exports.getAmplifyURIs = async function getAmplifyURI() {

if (hasAtLeastOnePackageOrConfig) {
return {
links: Object.entries(amplifyUris).reduce((acc, [label, url]) => {
return { ...acc, label, url };
}, {}),
links: Object.entries(amplifyUris).map(([label, url]) => {
return { label, url };
}),
};
}

Expand Down

0 comments on commit 8d34e4e

Please sign in to comment.