Fix redeclare of CutoffUnmet type

This commit is contained in:
Shawn Hardwick 2025-08-11 16:57:40 -04:00
parent 94984a6cad
commit 370cb1bbda
No known key found for this signature in database
GPG Key ID: 2F156DF1396D01DF
2 changed files with 3 additions and 3 deletions

View File

@ -210,7 +210,7 @@ func (collector *radarrCollector) Collect(ch chan<- prometheus.Metric) {
}
}
moviesCutoffUnmet := model.CutoffUnmet{}
moviesCutoffUnmet := model.CutoffUnmetMovies{}
moviesCutoffUnmetParams := client.QueryParams{}
params.Add("sortKey", "airDateUtc")

View File

@ -24,8 +24,8 @@ type TagMovies []struct {
MovieIds []int `json:"movieIds"`
}
// CutoffUnmet - Stores struct of JSON response
// CutoffUnmetMovies - Stores struct of JSON response
// https://radarr.video/docs/api/#/Cutoff/get_api_v3_wanted_cutoff
type CutoffUnmet struct {
type CutoffUnmetMovies struct {
TotalRecords int `json:"totalRecords"`
}