fixed tweet not tweeting
This commit is contained in:
parent
a487ed7f69
commit
3046a5e4b3
|
@ -35,7 +35,7 @@ class Services::Twitter < Service
|
||||||
host: APP_CONFIG['hostname'],
|
host: APP_CONFIG['hostname'],
|
||||||
protocol: (APP_CONFIG['https'] ? :https : :http)
|
protocol: (APP_CONFIG['https'] ? :https : :http)
|
||||||
)
|
)
|
||||||
"#{question_content[0..55]}#{'…' if question_content.length > 56}" \
|
"#{question_content[0..54]}#{'…' if question_content.length > 55}" \
|
||||||
" — #{answer_content[0..55]}#{'…' if answer_content.length > 56} #{answer_url}"
|
" — #{answer_content[0..55]}#{'…' if answer_content.length > 56} #{answer_url}"
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue