Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set CreateOrganizationsLimit as an int32 #357

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion user.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type User struct {
VerificationAttemptsRemaining *int64 `json:"verification_attempts_remaining"`
DeleteSelfEnabled bool `json:"delete_self_enabled"`
CreateOrganizationEnabled bool `json:"create_organization_enabled"`
CreateOrganizationsLimit *int `json:"create_organizations_limit,omitempty"`
CreateOrganizationsLimit *int32 `json:"create_organizations_limit,omitempty"`
LastActiveAt *int64 `json:"last_active_at"`
LegalAcceptedAt *int64 `json:"legal_accepted_at"`
CreatedAt int64 `json:"created_at"`
Expand Down
2 changes: 1 addition & 1 deletion user/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ type UpdateParams struct {
BackupCodes *[]string `json:"backup_codes,omitempty"`
DeleteSelfEnabled *bool `json:"delete_self_enabled,omitempty"`
CreateOrganizationEnabled *bool `json:"create_organization_enabled,omitempty"`
CreateOrganizationsLimit *int `json:"create_organizations_limit,omitempty"`
CreateOrganizationsLimit *int32 `json:"create_organizations_limit,omitempty"`
// Specified in RFC3339 format
LegalAcceptedAt *string `json:"legal_accepted_at,omitempty"`
SkipLegalChecks *bool `json:"skip_legal_checks,omitempty"`
Expand Down
Loading