Skip to content

Commit a4516ee

Browse files
authored
compate react-native-code-push 2.1
compate react-native-code-push 2.1
1 parent 63f33b8 commit a4516ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/services/client-manager.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ proto.updateCheckFromCache = function(deploymentKey, appVersion, label, packageH
6767
proto.updateCheck = function(deploymentKey, appVersion, label, packageHash) {
6868
var rs = {
6969
downloadURL: "",
70+
downloadUrl: "",
7071
description: "",
7172
isAvailable: false,
7273
isMandatory: false,
@@ -98,6 +99,7 @@ proto.updateCheck = function(deploymentKey, appVersion, label, packageHash) {
9899
&& _.eq(packages.deployment_id, deploymentsVersions.deployment_id)
99100
&& !_.eq(packages.package_hash, packageHash)) {
100101
rs.downloadURL = common.getBlobDownloadUrl(_.get(packages, 'blob_url'));
102+
rs.downloadUrl = common.getBlobDownloadUrl(_.get(packages, 'blob_url'));
101103
rs.description = _.get(packages, 'description', '');
102104
rs.isAvailable = true;
103105
rs.isMandatory = _.eq(packages.is_mandatory, 1) ? true : false;

0 commit comments

Comments
 (0)