mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-20 15:45:46 -04:00
Update authentication.cr
This commit is contained in:
parent
ad45332ec5
commit
6b8815b04c
@ -77,7 +77,7 @@ module Invidious::Routes::API::V1::Authentication
|
||||
# Fix token formatting
|
||||
formatted_tokens : Array(JSON::Any) = Array(JSON::Any).new
|
||||
captcha["tokens"].each do |tok|
|
||||
formatted_tokens << JSON.Parse(tok)
|
||||
formatted_tokens << JSON.parse(tok)
|
||||
end
|
||||
captcha_request = JSON.build do |json|
|
||||
json.object do
|
||||
|
Loading…
x
Reference in New Issue
Block a user