Commit dc116312 authored by noraj's avatar noraj

fix ref URL

parent a2133324
Pipeline #33670406 passed with stage
in 25 seconds
......@@ -61,7 +61,7 @@ if res.is_a?(Net::HTTPSuccess)
end
cropped = "\n[cropped]\n"
reference = "\nFind out more on ".concat(api_base_url)
reference = "\nFind out more on ".concat(api_base_url.chomp('api/'))
# maximum cropped message size
c_max = tweet_max - reference.length - cropped.size
# maximum cropped message + cropped tag size
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment