From a91c0dd81b08ae0dd1211d5aae73a78013551822 Mon Sep 17 00:00:00 2001 From: Lucas TESSON Date: Mon, 22 Apr 2024 15:05:57 +0200 Subject: [PATCH] feat(configs)!: retype parameters --- api/configs.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/configs.go b/api/configs.go index 51d4683..8d39866 100644 --- a/api/configs.go +++ b/api/configs.go @@ -31,13 +31,13 @@ type PatchConfigsParams struct { // Accounts DomainWhitelist *string `json:"domain_whitelist,omitempty"` - IncorrectSubmissionsPerMin *string `json:"incorrect_submissions_per_min,omitempty"` + IncorrectSubmissionsPerMin *int `json:"incorrect_submissions_per_min,omitempty"` NameChanges *bool `json:"name_changes,omitempty"` - NumTeams *string `json:"num_teams,omitempty"` - NumUsers *string `json:"num_users,omitempty"` + NumTeams *int `json:"num_teams,omitempty"` + NumUsers *int `json:"num_users,omitempty"` TeamCreation *bool `json:"team_creation,omitempty"` TeamDisbanding *string `json:"team_disbanding,omitempty"` - TeamSize *string `json:"team_size,omitempty"` + TeamSize *int `json:"team_size,omitempty"` VerifyEmails *bool `json:"verify_emails,omitempty"` // Pages