modified: main_dc/yalarba/api_yal/internal/models/account.go
fix bag with Object it was cirillic literal into Object struct name
This commit is contained in:
@@ -29,5 +29,5 @@ type Account struct {
|
||||
|
||||
|
||||
// Связь: один Account имеет много Objects
|
||||
Objects []Object `gorm:"foreignKey:OwnerID" json:"objects,omitempty"`
|
||||
Objects []Object `json:"objects"` // Обратная связь
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user