Skip to content
Snippets Groups Projects
Unverified Commit ff43e54a authored by Claire's avatar Claire Committed by GitHub
Browse files

Allow editing media attachments for scheduled toots (#17690)

Fixes #17676
parent 631e495a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment