diff --git a/routers/NgoRoutes.js b/routers/NgoRoutes.js index 61706c9..d8da0c7 100644 --- a/routers/NgoRoutes.js +++ b/routers/NgoRoutes.js @@ -104,9 +104,10 @@ router.post("/NGO-Registarion", async (req, res) => { }); console.log("NGO registration request sent for approval"); - res - .status(200) - .json({ message: "NGO registration request sent for approval" }); + // res + // .status(200) + // .json({ message: "NGO registration request sent for approval" }); + res.render("success") } catch (err) { console.error("Error creating NGO:", err); res.status(500).json({ error: "Internal server error" }); diff --git a/views/Admin_Dashboard.ejs b/views/Admin_Dashboard.ejs index 12ca23c..298b847 100644 --- a/views/Admin_Dashboard.ejs +++ b/views/Admin_Dashboard.ejs @@ -473,7 +473,7 @@ - +
You 've been succesfully singned up to Petari, We are tahankful to you are with us !
-You've been successfully signed up to Petari. We are thankful to have you with us! + We will Review and Approve your Registration Soon!!! +
+ Go to Homepage +