From ce51842e69d4056bd63c9ca321d8e8319c6ce917 Mon Sep 17 00:00:00 2001 From: Alyx BB Date: Sat, 4 Nov 2023 00:01:59 +0000 Subject: [PATCH] fix: typo in on_demand model --- models/on_demand.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/on_demand.go b/models/on_demand.go index 6b19f4e9..292f8205 100644 --- a/models/on_demand.go +++ b/models/on_demand.go @@ -24,12 +24,12 @@ func (m *OnDemandModel) GetLastMixcloudTimeslots() (timeslots []myradio.Timeslot if err != nil { return } - currrentAndNext, err := m.session.GetCurrentAndNext() + currentAndNext, err := m.session.GetCurrentAndNext() if err != nil { return } // If show currently on air, remove it from previous timeslots - if currrentAndNext.Current.Id != 0 { + if currentAndNext.Current.Id != 0 { timeslots = timeslots[1:11] } return