소스 검색

Working on GetStudents api

Andrea Fazzi 6 년 전
부모
커밋
39f295d46d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,