Skip to content

Commit

Permalink
Merge pull request #11 from InfinityBotList/cheesycod-patch-1
Browse files Browse the repository at this point in the history
Update bot.go to make ci happy
  • Loading branch information
cheesycod authored Sep 25, 2024
2 parents 78bea89 + 4ce0137 commit 1c6079a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:"-"`
Expand Down
2 changes: 1 addition & 1 deletion types/partners.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c6079a

Please sign in to comment.