From 50eb5677b8c77f81580eed6eb7f1475ad3de3098 Mon Sep 17 00:00:00 2001 From: Jian Yuan Lee Date: Sun, 24 Nov 2024 21:36:01 +0000 Subject: [PATCH] fix: OrganizationRepository.ExternalSlug uses json.RawMessage --- sentry/organization_repositories.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sentry/organization_repositories.go b/sentry/organization_repositories.go index 3f85a0d..5b2976a 100644 --- a/sentry/organization_repositories.go +++ b/sentry/organization_repositories.go @@ -2,6 +2,7 @@ package sentry import ( "context" + "encoding/json" "fmt" "time" ) @@ -22,7 +23,8 @@ type OrganizationRepository struct { Status string `json:"status"` DateCreated time.Time `json:"dateCreated"` IntegrationId string `json:"integrationId"` - ExternalSlug string `json:"externalSlug"` + ExternalSlug json.RawMessage `json:"externalSlug"` + ExternalId string `json:"externalId"` } // OrganizationRepositoriesService provides methods for accessing Sentry organization repositories API endpoints.