Skip to content

Commit

Permalink
Update endpoint.go
Browse files Browse the repository at this point in the history
修改url的长度
  • Loading branch information
icowan authored Feb 25, 2020
1 parent 4a78136 commit 4b8d8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/endpoint/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type GetRequest struct {
}

type PostRequest struct {
URL string `json:"url" validate:"required,url,lt=255"`
URL string `json:"url" validate:"required,url,lt=1000"`
}

type GetResponse struct {
Expand Down

0 comments on commit 4b8d8d4

Please sign in to comment.