From 58bad6180f8d5434e9daf14022081f9cd2602b62 Mon Sep 17 00:00:00 2001 From: RadoslavL Date: Wed, 27 Sep 2023 19:22:34 +0300 Subject: [PATCH] Changed first_page type to Bool --- src/invidious/frontend/pagination.cr | 4 ++-- src/invidious/views/channel.ecr | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/invidious/frontend/pagination.cr b/src/invidious/frontend/pagination.cr index fd367cee..d120f9b6 100644 --- a/src/invidious/frontend/pagination.cr +++ b/src/invidious/frontend/pagination.cr @@ -90,14 +90,14 @@ module Invidious::Frontend::Pagination end end - def nav_ctoken(locale : String?, *, base_url : String | URI, ctoken : String?, first_page : String?) + def nav_ctoken(locale : String?, *, base_url : String | URI, ctoken : String?, first_page : Bool?) return String.build do |str| str << %(
\n) str << %(