Skip to content

Commit

Permalink
EDIT remove default country from options
Browse files Browse the repository at this point in the history
  • Loading branch information
ReganL committed Aug 15, 2018
1 parent 93efc09 commit e3ead00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/versionChecker.ios.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import _result from 'lodash.result';
import {get, parseJson} from './fetcher';

const getAppstoreAppVersion = (identifier, options = { typeOfId: 'id', country: 'us' }) => {
const getAppstoreAppVersion = (identifier, options = { typeOfId: 'id' }) => {
const country = options.country ? `&country=${options.country}` : '';
const url = `https://itunes.apple.com/lookup?${options.typeOfId}=${identifier}${country}`;
return get(url).then(parseJson).then((d) => {
Expand Down

0 comments on commit e3ead00

Please sign in to comment.