Commit 7dd637e2 by jaymehta

.

1 parent ecf82389
...@@ -78,6 +78,16 @@ ...@@ -78,6 +78,16 @@
}, },
"uniqueVendorId": { "uniqueVendorId": {
"type": "string" "type": "string"
},
"einDocument": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
} }
} }
} }
...@@ -227,7 +227,7 @@ module.exports = createCoreController("api::vendor.vendor", () => ({ ...@@ -227,7 +227,7 @@ module.exports = createCoreController("api::vendor.vendor", () => ({
async function main() { async function main() {
// send mail with defined transport object // send mail with defined transport object
const info = await transport.sendMail({ const info = await transport.sendMail({
from: "Team Zango<no-reply@zango.com>", // sender address from: `Team Zango<${ctx.request.body.email}>`, // sender address
to: ctx.request.body.email, // list of receivers to: ctx.request.body.email, // list of receivers
subject: "OTP Verification", // Subject line subject: "OTP Verification", // Subject line
// text: "Hello world?", // plain text body // text: "Hello world?", // plain text body
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!