Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
posting scheduled status with media raises error
web_1 | [ec0d83d0-1b67-4492-9a82-399a665911d6] NameError (undefined local variable or method `media' for #<PostStatusService:0x0000563a60bc8a68>):
web_1 | [ec0d83d0-1b67-4492-9a82-399a665911d6]
web_1 | [ec0d83d0-1b67-4492-9a82-399a665911d6] app/services/post_status_service.rb:93:in `validate_media!'
web_1 | [ec0d83d0-1b67-4492-9a82-399a665911d6] app/services/post_status_service.rb:28:in `call'
web_1 | [ec0d83d0-1b67-4492-9a82-399a665911d6] app/controllers/api/v1/statuses_controller.rb:47:in `create'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.