Skip to content

Commit

Permalink
Remove customqueryId
Browse files Browse the repository at this point in the history
  • Loading branch information
dasansol92 committed Dec 23, 2021
1 parent 3fa7fdf commit 776ed8e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ export function useGetEventFiltersService() {

export function useGetAllAssignedEventFilters(
policyId: string,
enabled: boolean = true,
customQueryId: string = ''
enabled: boolean = true
): QueryObserverResult<FoundExceptionListItemSchema, ServerApiError> {
const service = useGetEventFiltersService();
return useQuery<FoundExceptionListItemSchema, ServerApiError>(
['eventFilters', 'assigned', policyId, customQueryId],
['eventFilters', 'assigned', policyId],
() => {
return service.getList({
filter: parsePoliciesAndFilterToKql({ policies: [...(policyId ? [policyId] : []), 'all'] }),
Expand Down

0 comments on commit 776ed8e

Please sign in to comment.