Open gilberthdez opened 3 years ago
I've worked around this by doing TogglV8::TOGGL_API_URL = 'https://api.track.toggl.com/api'
Today toggl started returning a warning that causes this gem to fail, even after patching the URL...
I have worked around this in a crude way (which is why I have not opened a PR) but it might help others: https://github.com/ErebusBat/togglv8/tree/fix-deprecation
If you are using bundler then you can change your gem line to: gem "togglv8", github: "ErebusBat/togglv8", branch: "fix-deprecation"
and it should work.
Thanks @ErebusBat for providing that fork. Apparently there is another place to update the URL, at least if you want to retrieve details from reports. I provided a PR against your repo. Find the changes here: https://github.com/wielinde/togglv8/commit/6d3f8936ade83935a7cfa433b2a8aa95be7b1291
@wielinde thank you for catching the error... I just merged the PR on my branch so my instructions above contain the fix to retrieve the details to reports.
toggl.com or www.toggl.com will no longer be a supported entry point for the Toggl Track API check: