it should be a String, not a Bool

This commit is contained in:
Fijxu 2026-09-14 02:51:49 -03:00
parent 2c7533c370
commit f44f21c61c
No known key found for this signature in database
GPG Key ID: 32C1DDF333EDA6A4

View File

@ -583,9 +583,9 @@ module YoutubeAPI
# true if logged in into a Google account on Youtube, therefore # true if logged in into a Google account on Youtube, therefore
# we set it to true if the instance has cookies enabled. # we set it to true if the instance has cookies enabled.
logged_in = if !CONFIG.cookies.empty? logged_in = if !CONFIG.cookies.empty?
true "true"
else else
false "false"
end end
headers = HTTP::Headers{ headers = HTTP::Headers{