Skip to content

Commit

Permalink
Capital GET breaks babel compile
Browse files Browse the repository at this point in the history
  • Loading branch information
gstcyr authored and mikehardy committed May 8, 2020
1 parent 2c17fe9 commit 95e6c41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class UpdateAPK {
this.options = options;
}

GET = (url, success, error) => {
get = (url, success, error) => {
fetch(url)
.then(response => response.json())
.then(json => {
Expand All @@ -30,7 +30,7 @@ export class UpdateAPK {
console.log("RNUpdateAPK::getApkVersion - apkVersionUrl doesn't exist.");
return;
}
this.GET(
this.get(
this.options.apkVersionUrl,
this.getApkVersionSuccess.bind(this),
this.getVersionError.bind(this)
Expand Down Expand Up @@ -143,7 +143,7 @@ export class UpdateAPK {
this.options.iosAppId +
"?mt=8";
console.log("RNUpdateAPK::getAppStoreVersion - attempting to fetch " + URL);
this.GET(
this.get(
URL,
this.getAppStoreVersionSuccess.bind(this),
this.getVersionError.bind(this)
Expand Down

0 comments on commit 95e6c41

Please sign in to comment.