Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update API Url Domain to api.track.toggl.com #28

Open
gilberthdez opened this issue Mar 16, 2021 · 4 comments
Open

Update API Url Domain to api.track.toggl.com #28

gilberthdez opened this issue Mar 16, 2021 · 4 comments

Comments

@gilberthdez
Copy link

toggl.com or www.toggl.com will no longer be a supported entry point for the Toggl Track API check:

@benlings
Copy link

benlings commented Jun 2, 2021

I've worked around this by doing TogglV8::TOGGL_API_URL = 'https://api.track.toggl.com/api'

@ErebusBat
Copy link

ErebusBat commented Jun 2, 2021

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.

@wielinde
Copy link

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: wielinde@6d3f893

@ErebusBat
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants