Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sentry/client/issue.rb')
-rw-r--r--lib/sentry/client/issue.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sentry/client/issue.rb b/lib/sentry/client/issue.rb
index b6f2e07d233..eb5b32289ba 100644
--- a/lib/sentry/client/issue.rb
+++ b/lib/sentry/client/issue.rb
@@ -34,6 +34,10 @@ module Sentry
map_to_detailed_error(issue)
end
+ def update_issue(issue_id:, params:)
+ http_put(issue_api_url(issue_id), params)[:body]
+ end
+
private
def get_issues(**keyword_args)
@@ -71,10 +75,6 @@ module Sentry
http_get(issue_api_url(issue_id))[:body]
end
- def update_issue(issue_id:, params:)
- http_put(issue_api_url(issue_id), params)[:body]
- end
-
def issues_api_url
issues_url = URI("#{url}/issues/")
issues_url.path.squeeze!('/')