Skip to content

Commit

Permalink
adder register-admin route
Browse files Browse the repository at this point in the history
  • Loading branch information
dhananjaysingh10 committed May 14, 2024
1 parent 52d8abd commit 6a6835f
Show file tree
Hide file tree
Showing 3 changed files with 253 additions and 227 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Admin=require("./model/admin")

app.use(bodyParser.urlencoded({ extended: true }));
app.use(express.static("public"));

app.use(bodyParser.json());
const NGO=require("./model/ngo")
const isAdmin=require("./middleware/isAdmin");

Expand Down
Loading

0 comments on commit 6a6835f

Please sign in to comment.