fix atom links

This commit is contained in:
Nazar Kanaev
2023-09-07 18:19:17 +01:00
parent 479aebd023
commit 850ce195a0
9 changed files with 89 additions and 32 deletions

View File

@@ -17,11 +17,11 @@ func (s *Storage) CreateFolder(title string) *Folder {
on conflict (title) do update set title = ?
returning id`,
title, expanded,
// provide title again so that we can extract row id
title,
// provide title again so that we can extract row id
title,
)
var id int64
err := row.Scan(&id)
var id int64
err := row.Scan(&id)
if err != nil {
log.Print(err)