Skip to content

Commit

Permalink
feat: turned off registration
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Dec 15, 2023
1 parent f9395d9 commit becb3c2
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions server/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ func getRoutes(app *middleware.App) []Route {
"/mentor/",
middleware.WithLogin(middleware.WrapApp(app, controllers.GetMentorDetails)),
},
{
"Student Registration",
"POST",
"/student/form/",
middleware.WithLogin(middleware.WrapApp(app, controllers.RegisterStudent)),
},
// {
// "Student Registration",
// "POST",
// "/student/form/",
// middleware.WithLogin(middleware.WrapApp(app, controllers.RegisterStudent)),
// },
{
"Update Student Details",
"PUT",
Expand All @@ -64,12 +64,12 @@ func getRoutes(app *middleware.App) []Route {
"/student/dashboard/",
middleware.WithLogin(middleware.WrapApp(app, controllers.FetchStudentDashboard)),
},
{
"Mentor Registration",
"POST",
"/mentor/form/",
middleware.WithLogin(middleware.WrapApp(app, controllers.RegisterMentor)),
},
// {
// "Mentor Registration",
// "POST",
// "/mentor/form/",
// middleware.WithLogin(middleware.WrapApp(app, controllers.RegisterMentor)),
// },
{
"Update Mentor Details",
"PUT",
Expand Down Expand Up @@ -100,12 +100,12 @@ func getRoutes(app *middleware.App) []Route {
"/healthcheck/ping/",
controllers.Ping,
},
{
"Project Registration",
"POST",
"/project/",
middleware.WithLogin(middleware.WrapApp(app, controllers.RegisterProject)),
},
// {
// "Project Registration",
// "POST",
// "/project/",
// middleware.WithLogin(middleware.WrapApp(app, controllers.RegisterProject)),
// },
{
"Fetch All Projects",
"GET",
Expand Down

0 comments on commit becb3c2

Please sign in to comment.