Browse Source

Working on GetStudents api

Andrea Fazzi 6 năm trước cách đây
mục cha
commit
39f295d46d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      orm/mappings.go

+ 1 - 1
orm/mappings.go

@@ -19,7 +19,7 @@ var (
 		"/students/{id}/update": GetStudentForUpdate,
 		"/students/add/":        GetStudentForAdd,
 
-		"/api/students":             GetStudentsFast,
+		"/api/students":             GetStudentsAll,
 		"/api/students/{id}":        GetStudentAll,
 		"/api/students/{id}/update": GetStudentForUpdate,
 		"/api/students/add/":        GetStudentForAdd,