validation rule for callFunc operator
This commit is contained in:
1 parent
51966cb33f
commit
5982b5a75f
33 files changed
+64
-55
No files matched your search
@@ -56,7 +56,7 @@ namespace Invidious
|
||||
|
||||
function DefaultQueryParams() as object
|
||||
return {
|
||||
region: m.node.applicationInfo@.GetUserCountryCode(invalid)
|
||||
region: m.node.applicationInfo@.GetUserCountryCode()
|
||||
}
|
||||
end function
|
||||
|
||||
@@ -228,7 +228,7 @@ namespace Invidious
|
||||
if queryParam.default <> invalid
|
||||
if IsString(queryParam.type) and queryParam.type = "#ISO3166"
|
||||
if queryParam.default = "GetUserCountryCode"
|
||||
request.QueryParam(queryParamKey, m.node.applicationInfo@.GetUserCountryCode(invalid))
|
||||
request.QueryParam(queryParamKey, m.node.applicationInfo@.GetUserCountryCode())
|
||||
else
|
||||
request.QueryParam(queryParamKey, queryParam.default)
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user