mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 01:08:47 +02:00
fix panic: Bad field name provided name
This commit is contained in:
@@ -40,7 +40,7 @@ type (
|
||||
one match means this line is matched.
|
||||
*/
|
||||
Rule struct {
|
||||
Name string `json:"name" validate:"required,unique"`
|
||||
Name string `json:"name" validate:"required"`
|
||||
On RuleOn `json:"on"`
|
||||
Do Command `json:"do"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user