fix incorrect json variable name

This commit is contained in:
Chris Cromer 2023-02-07 23:31:06 -03:00
parent 7e8eeab054
commit 63392e2726
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -5,5 +5,5 @@ import "gorm.io/gorm"
type Level struct {
gorm.Model
ID uint64 `json:"ID" gorm:"primaryKey"`
Name string `json:"rut" gorm:"unique;not null"`
Name string `json:"name" gorm:"unique;not null"`
}