Преглед изворни кода

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

Lee Morgan пре 5 година
родитељ
комит
659cd70aef
1 измењених фајлова са 1 додато и 0 уклоњено
  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"],