Skip to content

Commit

Permalink
Update API base URL for rebranded endpoints
Browse files Browse the repository at this point in the history
Toggl is now TogglTrack, update the base URL used in the API calls, so
I am prepared when the old URL is deprecated.

Issue: #23
Change-Id: I76b8182c860f432503e1d55f52b56fd5c4e90a71
  • Loading branch information
gcaufield committed Sep 9, 2020
1 parent 82f85bd commit bd5a7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/TogglApiService.mc
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ module Toggl {
};

Comms.makeWebRequest(
"https://www.toggl.com/" + api + endpoint,
"https://api.track.toggl.com/" + api + endpoint,
postData,
options,
callback);
Expand Down

0 comments on commit bd5a7e6

Please sign in to comment.