Refactor query params

This commit is contained in:
Brahim Hadriche committed 2023-11-26 18:11:48 -05:00
1 parent 0ddc9a48aa
commit 0acb7031d3
6 files changed
+162 -128

No files matched your search

@@ -6,6 +6,7 @@ import "pkg:/source/utils/ErrorUtils.bs"
import "pkg:/source/utils/FocusManagement.bs"
import "pkg:/source/utils/LoadingScreen.bs"
import "pkg:/source/utils/Logging.bs"
import "pkg:/source/utils/UrlUtils.bs"
function Init()
m.top.focusable = true
@@ -222,7 +223,7 @@ function Search(text as string)
else if IsArray(value) and value.Count() > 0
feedSource.queryParams[filter] = {
value: value,
arrayType: HttpClient.QueryParamArrayType.CommaSeparated
arrayType: UrlUtils.QueryParamArrayType.CommaSeparated
}
end if
end for