Fixes upgrade of bitpayCardCredentials to appIdentity.
This commit is contained in:
parent
4a6499d528
commit
58d9c91ca3
1 changed files with 0 additions and 4 deletions
|
|
@ -138,10 +138,6 @@ angular.module('copayApp.services')
|
||||||
if (err) return cb(err);
|
if (err) return cb(err);
|
||||||
if (data != null) {
|
if (data != null) {
|
||||||
// Needs upgrade
|
// Needs upgrade
|
||||||
if (lodash.isString(data)) {
|
|
||||||
data = JSON.parse(data);
|
|
||||||
}
|
|
||||||
data = data || {};
|
|
||||||
_01_setAppIdentity(network, data, function(err) {
|
_01_setAppIdentity(network, data, function(err) {
|
||||||
if (err) return cb(err);
|
if (err) return cb(err);
|
||||||
storage.remove(key, function() {
|
storage.remove(key, function() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue