streamdata: omitempty category field

This is treated as optional when handling the prompt.

Signed-off-by: Yonah <contrib@gensokyo.uk>
This commit is contained in:
2026-03-19 01:10:12 +09:00
parent d219c27528
commit 90c8b7c849

View File

@@ -125,7 +125,7 @@ type VOD struct {
// Day of stream start.
Date time.Time `json:"date"`
// Free-form category string.
Category string `json:"category"`
Category string `json:"category,omitempty"`
}
// ChannelMismatchError describes a mismatching [Ident.Channel] passed to [Channel.Add].