mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Allow editing media attachments for scheduled toots (#17690)
Fixes #17676
This commit is contained in:
parent
631e495a79
commit
ff43e54a49
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user