mirror of
https://github.com/iv-org/invidious.git
synced 2026-10-25 22:39:14 -05:00
it should be a String, not a Bool
This commit is contained in:
parent
2c7533c370
commit
f44f21c61c
@ -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{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user