mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-28 03:02:38 +01:00
Fix response filtering
This commit is contained in:
1 parent
57c3a86799
commit
b9f397e04a
3 files changed
+10
-7
No files matched your search
@@ -558,9 +558,9 @@ impl PluginManager {
|
||||
content_type: &str,
|
||||
) -> Result<FilterResponse> {
|
||||
let plugin_name = if content_type.to_lowercase().contains("json") {
|
||||
"filter-jsonpath"
|
||||
"@yaakapp/filter-jsonpath"
|
||||
} else {
|
||||
"filter-xpath"
|
||||
"@yaakapp/filter-xpath"
|
||||
};
|
||||
|
||||
let plugin = self
|
||||
|
||||
Reference in new issue
Block a user