Merge pull request #4528 from nonamethanks/fix_4520
Twitter: don't get api without a status id
This commit is contained in:
@@ -200,7 +200,7 @@ module Sources::Strategies
|
||||
end
|
||||
|
||||
def api_response
|
||||
return {} unless self.class.enabled?
|
||||
return {} unless self.class.enabled? && status_id.present?
|
||||
api_client.status(status_id)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user