added rate services to wallet
This commit is contained in:
parent
476f6395e5
commit
015af22638
4 changed files with 25 additions and 11 deletions
|
|
@ -86,7 +86,9 @@ Identity.create = function(opts, cb) {
|
|||
opts = _.extend({}, opts);
|
||||
|
||||
var iden = new Identity(opts);
|
||||
iden.store(_.extend(opts, {failIfExists: true}), function(err) {
|
||||
iden.store(_.extend(opts, {
|
||||
failIfExists: true
|
||||
}), function(err) {
|
||||
if (err) return cb(err);
|
||||
return cb(null, iden);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue