notification: add notification history
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
from django.urls import path
|
||||
|
||||
from core.apps.notifications.views import notification
|
||||
from core.apps.notifications.views import notification_history
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path('device/register/', notification.RegisterExpoPushToken.as_view()),
|
||||
path('history/', notification_history.NotificationHistoryListApiView.as_view()),
|
||||
path('history/<uuid:id>/read/', notification_history.NotificationHistoryUpdateApiView.as_view()),
|
||||
]
|
||||
Reference in New Issue
Block a user