Fix: emby path validate

pull/47/head
zijiren233 2 years ago
parent f9f0ece8cf
commit 966d077d60

@ -19,6 +19,9 @@ type ListReq struct {
}
func (r *ListReq) Validate() error {
if r.Path == "" {
return nil
}
i, err := strconv.Atoi(r.Path)
if err != nil {
return err

Loading…
Cancel
Save