diff --git a/app/store/bolt.go b/app/store/bolt.go index f421059c..24b771c4 100644 --- a/app/store/bolt.go +++ b/app/store/bolt.go @@ -59,7 +59,7 @@ func (b *BoltDB) Create(comment Comment) (commentID string, err error) { // fill ID and time if empty if comment.ID == "" { - if err := comment.GenID(); err != nil { + if err = comment.GenID(); err != nil { return "", err } }