feat(integrations): fixed a tags search in Sentry provider
This commit is contained in:
parent
e38b729edd
commit
77981feb2b
1 changed files with 2 additions and 2 deletions
|
|
@ -47,12 +47,12 @@ func (s *sentryClient) FetchSessionData(credentials interface{}, sessionID uint6
|
|||
cfg.Token = val
|
||||
}
|
||||
}
|
||||
requestUrl := fmt.Sprintf("https://sentry.io/api/0/projects/%s/%s/events/", cfg.OrganizationSlug, cfg.ProjectSlug)
|
||||
requestUrl := fmt.Sprintf("https://sentry.io/api/0/projects/%s/%s/issues/", cfg.OrganizationSlug, cfg.ProjectSlug)
|
||||
|
||||
testCallLimit := 1
|
||||
params := url.Values{}
|
||||
if sessionID != 0 {
|
||||
params.Add("query", fmt.Sprintf("openReplaySession.id=%d", sessionID))
|
||||
params.Add("query", fmt.Sprintf("openReplaySession.id:%d", sessionID))
|
||||
} else {
|
||||
params.Add("per_page", fmt.Sprintf("%d", testCallLimit))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue