Skip to content

Commit

Permalink
fix: OrganizationRepository.ExternalSlug uses json.RawMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
jianyuan committed Nov 24, 2024
1 parent 4fab489 commit 50eb567
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sentry/organization_repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package sentry

import (
"context"
"encoding/json"
"fmt"
"time"
)
Expand All @@ -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.
Expand Down

0 comments on commit 50eb567

Please sign in to comment.