diff --git a/types/bot.go b/types/bot.go index 04be5a6c..fada9180 100644 --- a/types/bot.go +++ b/types/bot.go @@ -124,7 +124,7 @@ type CreateBot struct { Tags []string `db:"tags" json:"tags" validate:"required,unique,min=1,max=5,dive,min=3,max=30,notblank,nonvulgar" msg:"There must be between 1 and 5 tags without duplicates" amsg:"Each tag must be between 3 and 30 characters and alphabetic"` NSFW bool `db:"nsfw" json:"nsfw"` StaffNote *string `db:"approval_note" json:"staff_note" validate:"omitempty,max=512" msg:"Staff note must be less than 512 characters if sent"` // impld - TeamOwner string `db:"team_owner" json:"team_owner" ci:"internal"` // May or may not be present + TeamOwner string `db:"team_owner" json:"team_owner"` // May or may not be present // Not needed to send, resolved in backend GuildCount *int `db:"servers" json:"-"` diff --git a/types/partners.go b/types/partners.go index ed78913c..81bed9d2 100644 --- a/types/partners.go +++ b/types/partners.go @@ -19,7 +19,7 @@ type Partner struct { CreatedAt time.Time `db:"created_at" json:"created_at" description:"When the partner was created on DB" validate:"required"` UserID string `db:"user_id" json:"-" description:"User ID of the partner. Is an internal field" validate:"required"` User *dovetypes.PlatformUser `db:"-" json:"user" description:"The partner's user information" ci:"internal"` // Must be parsed internally - BotID *string `db:"-" json:"bot_id" description:"The bot ID that is associated with the partner"` + BotID *string `db:"bot_id" json:"bot_id" description:"The bot ID that is associated with the partner"` } // @ci table=partner_types