debug/api-router-remove-and-delete-contact

This commit is contained in:
SowinskiBraeden committed 2022-02-09 13:46:42 -08:00
1 parent 0d05828c9c
commit 2bc558b4e0
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -20,7 +20,8 @@ func Setup(app *fiber.App) {
app.Post("/api/student/updateHomeroom", controllers.UpdateStudentHomeroom)
app.Post("/api/student/updateLocker", controllers.UpdateStudentLocker)
app.Post("/api/studnet/updateYOG", controllers.UpdateStudentYOG)
app.Post("/api/studnet/updateContacts", controllers.UpdateStudentContacts)
app.Post("/api/studnet/addContact", controllers.AddStudentContact)
app.Post("/api/student/removeContact", controllers.RemoveStudentContact)
app.Post("/api/student/updatePassword", controllers.UpdateStudentPassword)
app.Post("/api/student/resetPassword", controllers.ResetStudentPassword)
app.Post("/api/student/updateAddress", controllers.UpdateStudentAddress)
@@ -35,7 +36,7 @@ func Setup(app *fiber.App) {
app.Post("/api/student/contact/updateWorkPhone", controllers.UpdateContactWorkPhone)
app.Post("/api/student/contact/updateEmail", controllers.UpdateContactEmail)
app.Post("/api/student/contact/updatePriority", controllers.UpdateContactPriority)
app.Post("/api/student/contact/removeContact", controllers.RemoveContact)
app.Post("/api/student/contact/deleteContact", controllers.DeleteContact)
// Teacher Login Handling
app.Get("/api/teacher", controllers.Teacher)