Added missing doSettings call in updateSetup

This commit is contained in:
Nazar Gargol 2019-07-30 16:52:37 +02:00
parent 589b78d575
commit 3945e8a5ee

View File

@ -66,8 +66,10 @@ module.exports = {
status: 'active'
};
return auth.setup.setupUser(setupDetails)
.then(({user}) => user);
return auth.setup.setupUser(setupDetails);
})
.then((data) => {
return auth.setup.doSettings(data, api.settings);
});
}
},