Skip to content

Commit

Permalink
do not verify booleans in structs
Browse files Browse the repository at this point in the history
  • Loading branch information
tibroc committed Dec 5, 2024
1 parent 2ba9f7b commit 3e1b9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion room-hub/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ type VerificationCodeAcceptedMessage struct {

type VerificationCodeResponseMessage struct {
Type MessageType `json:"type" validate:"required"`
Status bool `json:"status" validate:"required"`
Status bool `json:"status" validate:"boolean"`
}

type VerificationCodeRejectedMessage struct {
Expand Down

0 comments on commit 3e1b9fa

Please sign in to comment.