diff --git a/Sources/SpotifyWebAPI/Other/MiscellaneousUtilities.swift b/Sources/SpotifyWebAPI/Other/MiscellaneousUtilities.swift index aaf99004..a9999efe 100644 --- a/Sources/SpotifyWebAPI/Other/MiscellaneousUtilities.swift +++ b/Sources/SpotifyWebAPI/Other/MiscellaneousUtilities.swift @@ -253,7 +253,7 @@ public func generatePageOffsets( maxOffset = absoluteMaxOffset } - if maxOffset >= minOffset { + if minOffset >= maxOffset { return [] }