Fix import error when bookmark title is more than 150 characters
1 files changed, 5 insertions(+), 1 deletions(-) M core/import.go
M core/import.go => core/import.go +5 -1
@@ 283,8 283,12 @@ func processOrgLinks(obj importObj, baseURLMap map[string]int, } } title := obj.GetTitle() if len(title) > 150 { title = title[:146] + "..." } return &models.OrgLink{ Title: obj.GetTitle(), Title: title, URL: obj.GetURL(), Description: obj.GetDescription(), BaseURLID: sql.NullInt64{Valid: true, Int64: int64(baseID)},