Ver Fonte

Set owner name to merchant name when non-pos creates an account.

Lee Morgan há 5 anos atrás
pai
commit
659cd70aef
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      controllers/merchantData.js

+ 1 - 0
controllers/merchantData.js

@@ -90,6 +90,7 @@ module.exports = {
 
         let owner = new Owner({
             email: email,
+            name: req.body.name,
             password: hash,
             createdAt: new Date(),
             status: ["unverified"],