fix: response body in twitter callback (#6907)
* fix: response body * fix: tests
This commit is contained in:
@@ -62,7 +62,7 @@ class Twitter::CallbacksController < Twitter::BaseController
|
||||
|
||||
return unless response.status.to_i == 200
|
||||
|
||||
parsed_user_profile = JSON.parse(response.read_body)
|
||||
parsed_user_profile = response.body
|
||||
|
||||
::Avatar::AvatarFromUrlJob.perform_later(inbox, parsed_user_profile['profile_image_url_https'])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user