mirror of
https://github.com/onedr0p/exportarr.git
synced 2026-02-06 10:57:32 +00:00
Fix redeclare of CutoffUnmet type
This commit is contained in:
parent
94984a6cad
commit
370cb1bbda
@ -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")
|
||||
|
||||
|
||||
@ -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"`
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user