0
0
Fork 0

Add API to delete media attachments that are not in use (#33991)

This commit is contained in:
Emelia Smith 2025-02-28 14:41:42 +01:00 committed by GitHub
parent e71fb450e0
commit 4960193ed0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 69 additions and 3 deletions

View file

@ -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]