🎨 Update database table view

This commit is contained in:
Daniel 2023-12-27 21:05:21 +08:00
parent 56128863aa
commit 8c225d1f0c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -281,7 +281,7 @@ func SaveAttributeView(av *AttributeView) (err error) {
}
}
data, err := gulu.JSON.MarshalIndentJSON(av, "", "\t") // TODO: single-line for production
data, err := gulu.JSON.MarshalJSON(av)
if nil != err {
logging.LogErrorf("marshal attribute view [%s] failed: %s", av.ID, err)
return