Fixed a copy-paste typo with stmtPostEdit -> stmtCategoryEdit.
This commit is contained in:
parent
16e2ff6ebc
commit
21444568cc
@ -266,7 +266,7 @@ func (s *SQLiteMindflow) EditCategory(category *mindflow.Category) error {
|
||||
}
|
||||
defer tx.Rollback()
|
||||
|
||||
_, err = tx.Stmt(stmtPostEdit).Exec(category.Name, category.ID)
|
||||
_, err = tx.Stmt(stmtCategoryEdit).Exec(category.Name, category.ID)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user