Allow editing media attachments for scheduled toots (#17690)

Fixes #17676
lolsob-rspec
Claire 2022-03-03 16:13:58 +01:00 committed by GitHub
parent 3bf45628c5
commit 3c0d1660aa
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class Api::V1::MediaController < Api::BaseController
end
def set_media_attachment
@media_attachment = current_account.media_attachments.unattached.find(params[:id])
@media_attachment = current_account.media_attachments.where(status_id: nil).find(params[:id])
end
def check_processing