Skip to content

Commit

Permalink
MOL-524: adjust getCountryCode for list payment methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tdang1-shopmacher committed Oct 17, 2024
1 parent 7874080 commit 10df4da
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,16 @@ import {
const config = {
headers: {
'Content-Type': 'application/json',
'ngrok-skip-browser-warning': 'true',
},
};

if (process.env.NODE_ENV === 'development') {
config.headers = {
...config.headers,
...{ 'ngrok-skip-browser-warning': 'true' },
};
}

const convertMollieMethodToCustomMethod = (
results: MollieResult,
projectLanguages: string[]
Expand Down

0 comments on commit 10df4da

Please sign in to comment.