mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Combine notifications endpoints and move them
This commit is contained in:
parent
e215a20a0a
commit
d5f43bae92
3 changed files with 6 additions and 13 deletions
|
@ -405,8 +405,6 @@ Invidious::Routing.get "/vi/:id/:name", Invidious::Routes::Images, :thumbnails
|
|||
|
||||
# API routes (macro)
|
||||
define_v1_api_routes()
|
||||
Invidious::Routing.get "/api/v1/auth/notifications", Invidious::Routes::API::V1::Authenticated, :notifications_get
|
||||
Invidious::Routing.post "/api/v1/auth/notifications", Invidious::Routes::API::V1::Authenticated, :notifications_post
|
||||
|
||||
# Video playback (macros)
|
||||
define_api_manifest_routes()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue