add: tags_STR endpoint with GET and DELETE
This commit is contained in:
parent
4614ba50ac
commit
cb0614cf8c
6 changed files with 131 additions and 1 deletions
src/models
|
@ -172,6 +172,6 @@ tag_remove(int id)
|
|||
rc = sqlite3_step(stmt);
|
||||
sqlite3_finalize(stmt);
|
||||
|
||||
return rc == SQLITE_DONE;
|
||||
return rc != SQLITE_DONE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue