1
0

Fixed a copy-paste typo with stmtPostEdit -> stmtCategoryEdit.

This commit is contained in:
Alexander Andreev 2023-05-23 00:49:40 +04:00
parent 16e2ff6ebc
commit 21444568cc
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -266,7 +266,7 @@ func (s *SQLiteMindflow) EditCategory(category *mindflow.Category) error {
} }
defer tx.Rollback() defer tx.Rollback()
_, err = tx.Stmt(stmtPostEdit).Exec(category.Name, category.ID) _, err = tx.Stmt(stmtCategoryEdit).Exec(category.Name, category.ID)
if err != nil { if err != nil {
return err return err
} }