mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-29 07:58:35 +00:00
Update tokens.cr
This commit is contained in:
parent
d5ebecb76a
commit
d51546a56b
@ -117,6 +117,7 @@ def scope_includes_scope(scope, subset)
|
|||||||
subset_methods, subset_endpoint = subset.split("::")
|
subset_methods, subset_endpoint = subset.split("::")
|
||||||
else
|
else
|
||||||
methods, endpoint = scope.split(":")
|
methods, endpoint = scope.split(":")
|
||||||
|
subset_methods, subset_endpoint = subset.split(":")
|
||||||
end
|
end
|
||||||
methods = methods.split(";").map(&.upcase).reject(&.empty?).sort!
|
methods = methods.split(";").map(&.upcase).reject(&.empty?).sort!
|
||||||
endpoint = endpoint.downcase
|
endpoint = endpoint.downcase
|
||||||
|
Loading…
Reference in New Issue
Block a user