From dcd2d04b75ff29adce3cee0813e35c362d960964 Mon Sep 17 00:00:00 2001
From: Sibunnayak For convenience, you can also download our mobile app from the following links: For convenience, you can also download our mobile app from the following links: For convenience, you can also download our mobile app from the following links: To log in via our website, please click here. To download our mobile app, use the following links: For convenience, you can also download our mobile app from the following links: Dear ${name}, We are pleased to inform you that your Sales Coordinator account has been successfully created. Please find your account details below: Name: ${name} For convenience, you can also download our mobile app from the following links: To download our mobile app, use the following links: For convenience, you can also download our mobile app from the following links: If you have not requested this email or have any concerns, please contact our support team immediately. For convenience, you can also download our mobile app from the following links: If you have not requested this email or have any concerns, please contact our support team immediately. To download our mobile app, use the following links: If you did not request this change, please contact our support team immediately. For convenience, you can also download our mobile app from the following links: For convenience, you can also download our mobile app from the following links: For convenience, you can also download our mobile app from the following link: If you did not request this update or have any concerns, please contact our support team immediately.
@@ -580,7 +580,7 @@ export const updateKycStatus = async (req, res) => {
diff --git a/resources/RetailDistributor/RetailDistributorController.js b/resources/RetailDistributor/RetailDistributorController.js
index 6c58ada..750367e 100644
--- a/resources/RetailDistributor/RetailDistributorController.js
+++ b/resources/RetailDistributor/RetailDistributorController.js
@@ -318,7 +318,7 @@ export const uploadRetaildistributors = async (req, res) => {
@@ -664,7 +664,7 @@ export const ResetPassword = async (req, res) => {
@@ -376,7 +376,7 @@ export const verifyOtp = async (req, res) => {
to: `${salesCoordinator?.email}`, // Change to your recipient
from: `${process.env.SEND_EMAIL_FROM}`, // Change to your verified sender
subject: `Welcome to Cheminova - Account Created Successfully`,
- html: `
+ html: `
@@ -795,7 +795,7 @@ export const ResetPassword = async (req, res) => {
diff --git a/resources/TerritoryManagers/TerritoryManagerController.js b/resources/TerritoryManagers/TerritoryManagerController.js
index 460a272..61d1e3e 100644
--- a/resources/TerritoryManagers/TerritoryManagerController.js
+++ b/resources/TerritoryManagers/TerritoryManagerController.js
@@ -241,7 +241,7 @@ export const uploadTerritoryManagers = async (req, res) => {
@@ -472,7 +472,7 @@ export const registerUser = async (req, res) => {
@@ -502,13 +502,17 @@ export const UpdateUser = async (req, res) => {
// Check if ID is provided and valid
if (!id) {
- return res.status(400).json({ success: false, message: "User ID is required" });
+ return res
+ .status(400)
+ .json({ success: false, message: "User ID is required" });
}
// Find the user by ID
let user = await User.findById(id);
if (!user) {
- return res.status(404).json({ success: false, message: "User not found" });
+ return res
+ .status(404)
+ .json({ success: false, message: "User not found" });
}
// Update user details only if provided
@@ -542,7 +546,7 @@ export const UpdateUser = async (req, res) => {
To download our mobile app, use the following links: