From 680fa2cdd445648a92b4a9a15504b6b932b6ad37 Mon Sep 17 00:00:00 2001 From: Tyschitskaya Maria Date: Wed, 16 Nov 2022 14:24:29 +0300 Subject: [PATCH] fix json for public_url field in connection model --- core/db/models/connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/db/models/connection.go b/core/db/models/connection.go index 0f68ed3..de66f4a 100644 --- a/core/db/models/connection.go +++ b/core/db/models/connection.go @@ -15,5 +15,5 @@ type Connection struct { ID int `gorm:"primary_key" json:"id"` Active bool `json:"active,omitempty"` 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"` }