mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-21 08:59:22 +01:00
Don't show plugin error for response filter
https://feedback.yaak.app/p/increase-debounce-time-for-jsonpath-xpath-filter https://feedback.yaak.app/p/possibility-to-cancel-request
This commit is contained in:
@@ -9,7 +9,7 @@ export function useFilterResponse({
|
||||
responseId: string | null;
|
||||
filter: string;
|
||||
}) {
|
||||
return useQuery<string | null, string>({
|
||||
return useQuery({
|
||||
queryKey: ['filter_response', responseId, filter],
|
||||
queryFn: async () => {
|
||||
if (filter === '') {
|
||||
@@ -21,7 +21,7 @@ export function useFilterResponse({
|
||||
filter,
|
||||
})) as FilterResponse;
|
||||
|
||||
return result.content;
|
||||
return result;
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user