Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
fix: typo in on_demand model
Browse files Browse the repository at this point in the history
  • Loading branch information
alyxbb committed Nov 4, 2023
1 parent 03dcb97 commit ce51842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/on_demand.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce51842

Please sign in to comment.