mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-17 18:38:50 +00:00
Fix duration in /api/v1/search
This commit is contained in:
@@ -188,7 +188,7 @@ def produce_search_params(sort : String = "relevance", date : String = "", conte
|
||||
end
|
||||
end
|
||||
|
||||
if body.size > 0
|
||||
if !body.empty?
|
||||
token = head + "\x12" + body.size.unsafe_chr + body
|
||||
else
|
||||
token = head
|
||||
|
||||
Reference in New Issue
Block a user