diff --git a/src/fr/tedoldi/lichess/game/retriever/lichess.clj b/src/fr/tedoldi/lichess/game/retriever/lichess.clj index 761b159..347a489 100644 --- a/src/fr/tedoldi/lichess/game/retriever/lichess.clj +++ b/src/fr/tedoldi/lichess/game/retriever/lichess.clj @@ -100,6 +100,7 @@ (> timestamp since-timestamp))))) (map #(-games-url->games url max-per-page % total-pages)))] - (lazy-cat - (sequence page-nb->game - (range total-pages)))))) + (flatten + (lazy-seq + (sequence page-nb->game + (range total-pages)))))))