Commit c8e1b1f
committed
fix: Correct model_validator parameter in Credential class
- Change parameter from 'data' to 'model' in validate_credential method
- Fix return statement to return 'model' instead of undefined 'data'
- Resolves AttributeError when accessing credential fields during validation
- Fixes startup crash in device configuration loading1 parent 5dd4a88 commit c8e1b1f
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments