Remove omitempty from CustomLink definition since should never b

pull/10616/head
Jared Scheib 2017-06-27 11:02:24 -07:00
parent 0ab48663a8
commit 3b76f82d47
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ type getExternalLinksResponse struct {
// CustomLink is a handler that returns a custom link to be used in server's routes response, within ExternalLinks
type CustomLink struct {
Name string `json:"name,omitempty"`
URL string `json:"url,omitempty"`
Name string `json:"name"`
URL string `json:"url"`
}
// NewCustomLinks transforms `--custom-link` CLI flag data or `CUSTOM_LINKS` ENV