Now including app version is profile.

This commit is contained in:
Brendon Duncan 2018-06-05 11:34:14 +12:00
commit 16b5054ea2
3 changed files with 22 additions and 7 deletions

View file

@ -706,7 +706,7 @@ angular.module('copayApp.services')
configService.get(function(err) {
if (err) $log.debug(err);
var p = Profile.create();
var p = Profile.create(appConfigService.version);
storageService.storeNewProfile(p, function(err) {
if (err) return cb(err);
root.bindProfile(p, function(err) {