mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 08:48:53 +00:00
Add API to delete media attachments that are not in use (#33991)
This commit is contained in:
@@ -77,7 +77,7 @@ namespace :api, format: false do
|
||||
end
|
||||
end
|
||||
|
||||
resources :media, only: [:create, :update, :show]
|
||||
resources :media, only: [:create, :update, :show, :destroy]
|
||||
resources :blocks, only: [:index]
|
||||
resources :mutes, only: [:index]
|
||||
resources :favourites, only: [:index]
|
||||
|
||||
Reference in New Issue
Block a user