mirror of
https://github.com/retailcrm/mg-transport-core.git
synced 2024-11-24 22:26:04 +03:00
fix json for public_url field in connection model
This commit is contained in:
parent
28de9a4879
commit
680fa2cdd4
@ -15,5 +15,5 @@ type Connection struct {
|
|||||||
ID int `gorm:"primary_key" json:"id"`
|
ID int `gorm:"primary_key" json:"id"`
|
||||||
Active bool `json:"active,omitempty"`
|
Active bool `json:"active,omitempty"`
|
||||||
Lang string `gorm:"column:lang; type:varchar(2)" json:"lang,omitempty" binding:"max=2"`
|
Lang string `gorm:"column:lang; type:varchar(2)" json:"lang,omitempty" binding:"max=2"`
|
||||||
PublicURL string `gorm:"column:public_url; type:varchar(255);" json:"publicURL,omitempty" binding:"max=255"`
|
PublicURL string `gorm:"column:public_url; type:varchar(255);" json:"publicUrl,omitempty" binding:"max=255"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user