mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 21:26:52 +00:00
Add POST /api/v1/notifications/:id/dismiss (#8905)
POST /api/v1/notifications/dismiss was a mistake in #2251
This commit is contained in:
parent
886af5ce19
commit
09d789e79b
|
@ -296,6 +296,10 @@ Rails.application.routes.draw do
|
||||||
resources :notifications, only: [:index, :show] do
|
resources :notifications, only: [:index, :show] do
|
||||||
collection do
|
collection do
|
||||||
post :clear
|
post :clear
|
||||||
|
post :dismiss # Deprecated
|
||||||
|
end
|
||||||
|
|
||||||
|
member do
|
||||||
post :dismiss
|
post :dismiss
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue