From 506fbfed1c3d81ca7d4ddfb77edb08827db2dc87 Mon Sep 17 00:00:00 2001 From: Rootspring Date: Wed, 25 Sep 2024 06:46:48 -0400 Subject: [PATCH 1/2] Update bot.go to make ci happy --- types/bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:"-"` From 4ce0137eccd50bca77ff905fac27e1992ea57d27 Mon Sep 17 00:00:00 2001 From: Rootspring Date: Wed, 25 Sep 2024 06:49:22 -0400 Subject: [PATCH 2/2] Update partners.go --- types/partners.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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