Fixing function name

This commit is contained in:
Jonathan Carter
2015-11-23 20:30:48 -08:00
parent 8495e7d0fd
commit 7f21bae33a

View File

@@ -40,7 +40,7 @@ module.exports = (NativeCodePush) => {
.then(function() {
updateInstalledCallback && updateInstalledCallback();
if (installMode == NativeCodePush.codePushInstallModeImmediate) {
NativeCodePush.restartImmedidateUpdate(rollbackTimeout);
NativeCodePush.restartForImmedidateUpdate(rollbackTimeout);
} else {
this.restart = function () {
NaviteCodePush.restartForPendingUpdate();