0
0
Fork 0

Add endpoints for unread notifications count (#31191)

This commit is contained in:
Claire 2024-07-30 10:39:11 +02:00 committed by GitHub
parent 2ce99c51dd
commit 598ae4f2da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 186 additions and 2 deletions

View file

@ -167,6 +167,7 @@ namespace :api, format: false do
resources :notifications, only: [:index, :show] do
collection do
post :clear
get :unread_count
end
member do
@ -336,6 +337,7 @@ namespace :api, format: false do
resources :notifications, only: [:index, :show] do
collection do
post :clear
get :unread_count
end
member do