Skip to content

Commit ac7d1ad

Browse files
authored
fix: make org owner optional (#393)
1 parent 31fde60 commit ac7d1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongodbatlas/organizations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ type Organizations struct {
7777
type CreateOrganizationRequest struct {
7878
APIKey *APIKeyInput `json:"apiKey,omitempty"`
7979
Name string `json:"name"`
80-
OrgOwnerID string `json:"orgOwnerId"`
80+
OrgOwnerID *string `json:"orgOwnerId,omitempty"`
8181
}
8282

8383
// CreateOrganizationResponse struct for CreateOrganizationResponse.

0 commit comments

Comments
 (0)