Skip to content

Commit

Permalink
PR feedbacks w.r.t error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
yesil committed Sep 3, 2024
1 parent 68ffdd7 commit e7539d1
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 79 deletions.
74 changes: 37 additions & 37 deletions libs/deps/mas/mas.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libs/deps/mas/merch-datasource.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions libs/features/mas/mocks/aem.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export async function withAem(originalFetch) {
.then(({ items }) => items.find((item) => item.path === path));
if (item) {
return Promise.resolve({
ok: true,
status: 200,
json: () => Promise.resolve({ items: [item] }),
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"locked": false,
"mimeType": "text/html",
"values": [
"<p>Join us for the creative event of the year Oct 1416. Register by August 31 and save US$200 on a full conference pass.</p><p><a class=\"modal link-block \" href=\"https://www.adobe.com/products/special-offers.html#max-modal-advanced\" data-modal-path=\"/cc-shared/fragments/modals/max-conference/terms-advanced-pricing\" data-modal-hash=\"#max-modal-advanced\">See terms</a></p>"
"<p>Join us for the creative event of the year Oct 14-16. Register by August 31 and save US$200 on a full conference pass.</p><p><a class=\"modal link-block \" href=\"https://www.adobe.com/products/special-offers.html#max-modal-advanced\" data-modal-path=\"/cc-shared/fragments/modals/max-conference/terms-advanced-pricing\" data-modal-hash=\"#max-modal-advanced\">See terms</a></p>"
]
},
{
Expand Down
Loading

0 comments on commit e7539d1

Please sign in to comment.