Skip to content

Commit 50eb567

Browse files
committed
fix: OrganizationRepository.ExternalSlug uses json.RawMessage
1 parent 4fab489 commit 50eb567

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sentry/organization_repositories.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package sentry
22

33
import (
44
"context"
5+
"encoding/json"
56
"fmt"
67
"time"
78
)
@@ -22,7 +23,8 @@ type OrganizationRepository struct {
2223
Status string `json:"status"`
2324
DateCreated time.Time `json:"dateCreated"`
2425
IntegrationId string `json:"integrationId"`
25-
ExternalSlug string `json:"externalSlug"`
26+
ExternalSlug json.RawMessage `json:"externalSlug"`
27+
ExternalId string `json:"externalId"`
2628
}
2729

2830
// OrganizationRepositoriesService provides methods for accessing Sentry organization repositories API endpoints.

0 commit comments

Comments
 (0)