Skip to content

Commit

Permalink
fix: STRF-11899 Update cart when multiple coupons are removed
Browse files Browse the repository at this point in the history
  • Loading branch information
huntario committed Apr 15, 2024
1 parent 8790190 commit 2432d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/plugins/renderer/renderer.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ internals.getResponse = async (request) => {
responseArgs,
);
}
if (request.method !== 'get') {
if (request.method !== 'get' || request.path == '/cart.php') {

Check failure on line 115 in server/plugins/renderer/renderer.module.js

View workflow job for this annotation

GitHub Actions / build (16.x, ubuntu-latest)

Expected '===' and instead saw '=='

Check failure on line 115 in server/plugins/renderer/renderer.module.js

View workflow job for this annotation

GitHub Actions / build (18.x, ubuntu-latest)

Expected '===' and instead saw '=='
// clear when making a non-get request because smth may be changed
cache.clear();
}
Expand Down

0 comments on commit 2432d18

Please sign in to comment.