fix incorrect json variable name

This commit is contained in:
Chris Cromer 2023-02-07 23:31:06 -03:00 committed by Martin Araneda
parent a15bcebbc7
commit 0f1bff66dc

View File

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