Skip to content

Commit

Permalink
Remove hard coded lang property
Browse files Browse the repository at this point in the history
We don't need to pass here this hard coded param. When lang is set to en always english version of release notes are returned.
  • Loading branch information
JedrekDabrowski authored Sep 30, 2024
1 parent 18d927f commit ac4300a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ios.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const getIosVersion = async (bundleId, country) => {
// Adds a random number to the end of the URL to prevent caching
const url = `https://itunes.apple.com/lookup?lang=${country}&bundleId=${bundleId}&country=${country}&_=${new Date().valueOf()}`;
const url = `https://itunes.apple.com/lookup?bundleId=${bundleId}&country=${country}&_=${new Date().valueOf()}`;

let res = await fetch(url);

Expand Down

0 comments on commit ac4300a

Please sign in to comment.