Fix Listign of MediaArticle
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
ApiSecret []byte
|
||||
CfgFile string
|
||||
Verbose int
|
||||
Overwrite bool
|
||||
@@ -79,7 +80,8 @@ type CliConfig struct {
|
||||
}
|
||||
|
||||
type ServerConfiguration struct {
|
||||
Server struct {
|
||||
ApiSecret []byte `mapstructure:"api_secret" validate:"required"`
|
||||
Server struct {
|
||||
Port int `mapstructure:"port" validate:"required"`
|
||||
Host string `mapstructure:"host"`
|
||||
} `mapstructure:"server"`
|
||||
|
||||
Reference in New Issue
Block a user