Open Parth5431 opened 1 month ago
hey @Parth5431 I have defined currentUser in app.js as a middleware you can check that app.use((req, res, next) => { res.locals.success = req.flash("success"); res.locals.error = req.flash("error"); res.locals.currUser = req.user; next(); });
If you are still facing the issue than you can connect me on linkedIn https://www.linkedin.com/in/abhinandan-sah/
i facing issue while uploading project to render please let me know how to do this