From 3fe4440ba8dcb01a22dce20d2177cff4dc6ee29b Mon Sep 17 00:00:00 2001 From: brunodsgomes Date: Mon, 8 Nov 2021 18:13:33 -0300 Subject: [PATCH] fix: update base urls --- TogglAPI.NetStandard/Routes/ApiRoutes.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TogglAPI.NetStandard/Routes/ApiRoutes.cs b/TogglAPI.NetStandard/Routes/ApiRoutes.cs index 487c58b..346fe34 100644 --- a/TogglAPI.NetStandard/Routes/ApiRoutes.cs +++ b/TogglAPI.NetStandard/Routes/ApiRoutes.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -7,10 +7,10 @@ namespace Toggl { public static class ApiRoutes { - private const string TogglBaseUrl = "https://www.toggl.com/api/v8"; - private const string TogglReportUrl = "https://toggl.com/reports/api/v2"; + private const string TogglBaseUrl = "https://api.track.toggl.com/api/v8"; + private const string TogglReportUrl = "https://api.track.toggl.com/reports/api/v2"; - public static class Reports + public static class Reports { public static readonly string Detailed = TogglReportUrl + "/details"; public static readonly string Weekly = TogglReportUrl + "/weekly"; @@ -57,7 +57,7 @@ public static class TimeEntry public static class Project { - public readonly static string ProjectsBulkDeleteUrl = TogglBaseUrl + "/projects/{0}"; + public readonly static string ProjectsBulkDeleteUrl = TogglBaseUrl + "/projects/{0}"; public readonly static string ProjectsUrl = TogglBaseUrl + "/projects"; public readonly static string DetailUrl = TogglBaseUrl + "/projects/{0}"; public readonly static string UsersUrl = TogglBaseUrl + "/projects/{0}/project_users";