✏️ Fix: [#69] 안 읽은 알림 카운트 api url설정, 알림 조회 뷰셋 경로 수정
This commit is contained in:
@@ -7,8 +7,9 @@ from rest_framework.routers import DefaultRouter
|
|||||||
app_name = 'notifications'
|
app_name = 'notifications'
|
||||||
|
|
||||||
router = DefaultRouter()
|
router = DefaultRouter()
|
||||||
router.register(r'', NotificationReadViewSet, basename='notification')
|
router.register(r'read', NotificationReadViewSet, basename='notification')
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('', include(router.urls)),
|
path('', include(router.urls)),
|
||||||
|
path('count/', NewNotificationCountAPIView().as_view()),
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user