Skip to content

Commit

Permalink
Make substatus data available (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
aboks authored Jan 16, 2025
1 parent f344321 commit 96aafb0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cspell.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
"oblador",
"peterhellberg",
"proxying",
"Substatus",
"substatus",
"testdata",
"testid",
"typecheck",
Expand Down
2 changes: 1 addition & 1 deletion pkg/handlers/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestSentryDatasource_Issues(t *testing.T) {
assert.Nil(t, res.Responses["A"].Error)
require.Equal(t, 1, len(res.Responses["A"].Frames))
assert.Equal(t, "Issues (A)", res.Responses["A"].Frames[0].Name)
require.Equal(t, 32, len(res.Responses["A"].Frames[0].Fields))
require.Equal(t, 33, len(res.Responses["A"].Frames[0].Fields))
require.Equal(t, 3, res.Responses["A"].Frames[0].Fields[0].Len())
})
}
Expand Down
1 change: 1 addition & 0 deletions pkg/sentry/issues.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ type SentryIssue struct {
Count string `json:"count"`
UserCount int64 `json:"userCount"`
Status string `json:"status"`
Substatus string `json:"substatus"`
Level string `json:"level"`
Type string `json:"type"`
Platform string `json:"platform"`
Expand Down

0 comments on commit 96aafb0

Please sign in to comment.