Skip to content

Commit

Permalink
Merge pull request #6 from Carl0395/master
Browse files Browse the repository at this point in the history
Update versionChecker.ios.js
  • Loading branch information
a7ul authored Jan 29, 2018
2 parents efcc6cd + 9d0d74f commit 7dea013
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
Expand Up @@ -2,7 +2,7 @@ import result from 'lodash/result';
import {get, parseJson} from './fetcher';

const getAppstoreAppVersion = (identifier, { typeOfId = 'id', country = 'us' }) => {
const url = `http://itunes.apple.com/lookup?${typeOfId}=${identifier}&country=${country}`;
const url = `https://itunes.apple.com/lookup?${typeOfId}=${identifier}&country=${country}`;
return get(url).then(parseJson).then((d) => {
const version = result(d, 'data.results[0].version');
if (!version) {
Expand Down

0 comments on commit 7dea013

Please sign in to comment.