Commit dc116312 authored by noraj's avatar noraj

fix ref URL

parent a2133324
Pipeline #41517744 failed with stage
in 32 seconds
......@@ -61,7 +61,7 @@ if res.is_a?(Net::HTTPSuccess)
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