Refactor part 2: Electric Boogaloo. Standardize way of passing filter parameters.
This commit is contained in:
1 parent
f26f1b0581
commit
cdf391d5c2
90 files changed
+867
-709
No files matched your search
@@ -136,7 +136,7 @@ function getQueryParams(filters: Record<string, any>) {
|
||||
};
|
||||
}
|
||||
|
||||
async function parseFilters(filters: Record<string, any>, options?: QueryOptions) {
|
||||
function parseFilters(filters: Record<string, any>, options?: QueryOptions) {
|
||||
return {
|
||||
filterQuery: getFilterQuery(filters, options),
|
||||
dateQuery: getDateQuery(filters),
|
||||
|
||||
Reference in new issue
Block a user