Skip to content

Commit 616fff0

Browse files
mmahroussfda-odoo
authored andcommitted
[FIX] Fix serialization of DiagnosticFilter.path
1 parent 28cb327 commit 616fff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/core/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ impl Serialize for DiagnosticFilter {
162162
if self.negation {
163163
path_str = format!("!{}", path_str);
164164
}
165-
s.serialize_field("path", &path_str)?;
165+
s.serialize_field("paths", &path_str)?;
166166
let codes: Vec<String> = self.codes.iter().map(|r| r.as_str().to_string()).collect();
167167
s.serialize_field("codes", &codes)?;
168168
s.serialize_field("types", &self.types)?;

0 commit comments

Comments
 (0)