From c73a4e570209a8edcbcfced28ac1580a1b8320cf Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sat, 22 Apr 2023 15:45:29 +0800 Subject: [PATCH] Fix url endpoint typo --- infotech/schedules/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infotech/schedules/urls.py b/infotech/schedules/urls.py index a11536a..d84c0aa 100644 --- a/infotech/schedules/urls.py +++ b/infotech/schedules/urls.py @@ -10,7 +10,7 @@ router.register(r'schedules', views.ScheduleViewSet) urlpatterns = [ path('', include(router.urls)), path('first_year_schedules/', views.FirstYearScheduleViewSet.as_view()), - path('second_year_subjects/', views.SecondYearScheduleViewSet.as_view()), + path('second_year_schedules/', views.SecondYearScheduleViewSet.as_view()), path('third_year_schedules/', views.ThirdYearScheduleViewSet.as_view()), path('fourth_year_schedules/', views.FourthYearScheduleViewSet.as_view()), ]