Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit 7bddcb2

Browse files
committed
fix: add end slash to daily api
1 parent d3bc28d commit 7bddcb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ncovapi/urls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
path('provinces/', views.ProvinceListView.as_view(), name='province-list'),
1717
path('provinces/<int:pk>/', views.ProvinceRetrieveView.as_view(), name='province-detail'),
1818
path('provinces/<str:provinceShortName>/', views.ProvinceRetrieveByNameView.as_view(), name='province-detail-by-name'),
19-
path('provinces/<str:provinceShortName>/daily', views.ProvinceDailyListView.as_view(), name='province-daily-list'),
19+
path('provinces/<str:provinceShortName>/daily/', views.ProvinceDailyListView.as_view(), name='province-daily-list'),
2020
path('countries/', views.CountryListView.as_view(), name='country-list'),
2121
path('countries/<int:pk>/', views.CountryRetrieveView.as_view(), name='country-detail'),
2222
path('countries/<str:countryName>/', views.CountryRetrieveByNameView.as_view(), name='country-detail-by-name'),
23-
path('countries/<str:countryName>/daily', views.CountryDailyListView.as_view(), name='country-daily-list'),
23+
path('countries/<str:countryName>/daily/', views.CountryDailyListView.as_view(), name='country-daily-list'),
2424
]

0 commit comments

Comments
 (0)