👔 Modify report abuse condition
This commit is contained in:
parent
ba32925b58
commit
10e4a67835
@ -62,7 +62,7 @@ func createAbuseReport(c *fiber.Ctx) error {
|
||||
|
||||
var data struct {
|
||||
Resource string `json:"resource" validate:"required"`
|
||||
Reason string `json:"reason" validate:"required,min=16,max=4096"`
|
||||
Reason string `json:"reason" validate:"required,max=4096"`
|
||||
}
|
||||
|
||||
if err := exts.BindAndValidate(c, &data); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user