1
0

Found a copy-paste typo, fixed it. stmtPostNew -> stmtCategoryNew.

This commit is contained in:
Alexander Andreev 2023-05-22 04:10:04 +04:00
parent e51ceb7388
commit 91a76fb9d7
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -192,7 +192,7 @@ func (s *SQLiteMindflow) NewCategory(name string) (int64, error) {
} }
defer tx.Rollback() defer tx.Rollback()
r, err := tx.Stmt(stmtPostNew).Exec(name) r, err := tx.Stmt(stmtCategoryNew).Exec(name)
if err != nil { if err != nil {
return 0, err return 0, err
} }