backend: fixed wrong error codes

This commit is contained in:
Alex
2025-03-02 23:14:03 +01:00
parent 6937ab333c
commit ff3106b8be
9 changed files with 37 additions and 22 deletions

View File

@@ -30,7 +30,7 @@ func HandleValidationError(c *gin.Context, err error) {
}
} else {
validationErrors = append(validationErrors, gin.H{
"field": "general",
"field": "server.general",
"key": "server.error.invalid_json",
})
}