Skip to content

Commit 8d34e4e

Browse files
fix: amplify uris for package [DEVOP-331] (#104)
1 parent 7736d93 commit 8d34e4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/actions/amplify.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ exports.getAmplifyURIs = async function getAmplifyURI() {
2525

2626
if (hasAtLeastOnePackageOrConfig) {
2727
return {
28-
links: Object.entries(amplifyUris).reduce((acc, [label, url]) => {
29-
return { ...acc, label, url };
30-
}, {}),
28+
links: Object.entries(amplifyUris).map(([label, url]) => {
29+
return { label, url };
30+
}),
3131
};
3232
}
3333

0 commit comments

Comments
 (0)