Claire
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/controllers/api/v1/media_controller.rb
|
|
@ -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 |
|
|
|