Skip to content

Commit

Permalink
Merge pull request hngprojects#384 from hngprojects/chore/fixes-on-ch…
Browse files Browse the repository at this point in the history
…ange-password

Chore/fixes on change password
  • Loading branch information
incredible-phoenix246 authored Jul 29, 2024
2 parents 4c53a9d + f40c3ae commit f71a083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ server.use(
],
}),
);

server.use("/api/v1", authRoute);
server.use(Limiter);
server.use(express.json());
server.use(express.urlencoded({ extended: true }));
Expand All @@ -63,7 +63,7 @@ server.get("/api/v1", (req: Request, res: Response) => {
// });

server.use("/api/v1", userRouter);
server.use("/api/v1", authRoute);

server.use("/api/v1", adminRouter);
server.use("/api/v1", sendEmailRoute);
server.use("/api/v1/sms", smsRouter);
Expand Down

0 comments on commit f71a083

Please sign in to comment.