Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
sridhar-5 committed Sep 3, 2021
1 parent cdefdea commit 73d72d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion middleware/RedirectAdminUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ module.exports = async function (request, response, next) {
console.log(CheckUsersIsAdmin);

if (!CheckUsersIsAdmin.isAdmin) {
console.log("listing events");
//if the user is not an admin then rendering back the client side views
next();
} else {
Expand Down

0 comments on commit 73d72d8

Please sign in to comment.