summaryrefslogtreecommitdiff
path: root/lib/sentry/client/projects.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sentry/client/projects.rb')
-rw-r--r--lib/sentry/client/projects.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/sentry/client/projects.rb b/lib/sentry/client/projects.rb
index 68f8fe0f9c9..e686d4ff715 100644
--- a/lib/sentry/client/projects.rb
+++ b/lib/sentry/client/projects.rb
@@ -14,14 +14,7 @@ module Sentry
private
def get_projects
- http_get(projects_api_url)[:body]
- end
-
- def projects_api_url
- projects_url = URI(url)
- projects_url.path = '/api/0/projects/'
-
- projects_url
+ http_get(api_urls.projects_url)[:body]
end
def map_to_projects(projects)