Skip to content

Commit

Permalink
Merge pull request #363 from LerianStudio/fix/MIDAZ-359
Browse files Browse the repository at this point in the history
Fix/MIDAZ-359
  • Loading branch information
qnen authored Dec 6, 2024
2 parents fcdd713 + 33f3e7d commit 163819a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/mmodel/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ type UpdateAccountInput struct {
Status Status `json:"status"`
AllowSending *bool `json:"allowSending" example:"true"`
AllowReceiving *bool `json:"allowReceiving" example:"true"`
Alias *string `json:"alias" validate:"max=100,prohibitedexternalaccountprefix" example:"@person1"`
ProductID *string `json:"productId" validate:"uuid" example:"00000000-0000-0000-0000-000000000000"`
Alias *string `json:"alias" validate:"omitempty,max=100,prohibitedexternalaccountprefix" example:"@person1"`
ProductID *string `json:"productId" validate:"omitempty,uuid" example:"00000000-0000-0000-0000-000000000000"`
Metadata map[string]any `json:"metadata" validate:"dive,keys,keymax=100,endkeys,nonested,valuemax=2000"`
} // @name UpdateAccountInput

Expand Down

0 comments on commit 163819a

Please sign in to comment.