Fix: create post request user's id validation fix
This commit is contained in:
parent
c1ed822293
commit
c495af0c80
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ type CreatePostRequest struct {
|
|||
Title string `json:"title" binding:"required,min=8,max=255"`
|
||||
Description string `json:"description" binding:"required,min=8,max=255"`
|
||||
Content string `json:"content" binding:"required,min=36"`
|
||||
UserId string `json:"userId" binding:"required,uuid5"`
|
||||
UserId string `json:"userId" binding:"required,uuid"`
|
||||
Category string `json:"category"`
|
||||
Tags []string `json:"tags"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue