File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,16 +4,16 @@ type CreateSubmissionRequest struct {
44 Title string `json:"title" validate:"required"`
55 Description string `json:"description" validate:"required"`
66 Track string `json:"track" validate:"required"`
7- GithubLink string `json:"github_link" validate:"required,url" `
8- FigmaLink string `json:"figma_link" validate:"required,url" `
9- OtherLink string `json:"other_link" validate:"omitempty,url" `
7+ GithubLink string `json:"github_link"`
8+ FigmaLink string `json:"figma_link`
9+ OtherLink string `json:"other_link"`
1010}
1111
1212type UpdateSubmissionRequest struct {
1313 Title string `json:"title" validate:"required"`
1414 Description string `json:"description" validate:"required"`
1515 Track string `json:"track" validate:"required"`
16- GithubLink string `json:"github_link" validate:"required,url" `
17- FigmaLink string `json:"figma_link" validate:"required,url" `
18- OtherLink string `json:"other_link" validate:"omitempty,url" `
16+ GithubLink string `json:"github_link"`
17+ FigmaLink string `json:"figma_link"`
18+ OtherLink string `json:"other_link"`
1919}
You can’t perform that action at this time.
0 commit comments