omit uploaded bool from metadata if false: phasing out
This commit is contained in:
parent
21b7a3926b
commit
d270b1e1a7
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ type (
|
||||||
Date toml.LocalDate `toml:"date"`
|
Date toml.LocalDate `toml:"date"`
|
||||||
Tags []string `toml:"tags"`
|
Tags []string `toml:"tags"`
|
||||||
FootageDir string `toml:"footage_dir"`
|
FootageDir string `toml:"footage_dir"`
|
||||||
Uploaded bool `toml:"uploaded"` // deprecated, held for backwards compatibility
|
Uploaded bool `toml:"uploaded,omitempty"` // deprecated, held for backwards compatibility
|
||||||
UploadURL string `toml:"upload_url"`
|
UploadURL string `toml:"upload_url"`
|
||||||
Category *Category `toml:"category" comment:"(Optional) Category details, for additional credits."`
|
Category *Category `toml:"category" comment:"(Optional) Category details, for additional credits."`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue