add: tags_STR endpoint with GET and DELETE

This commit is contained in:
Tobias Reisinger 2020-06-19 16:26:08 +02:00
parent 4614ba50ac
commit cb0614cf8c
6 changed files with 131 additions and 1 deletions
src/models

View file

@ -172,6 +172,6 @@ tag_remove(int id)
rc = sqlite3_step(stmt);
sqlite3_finalize(stmt);
return rc == SQLITE_DONE;
return rc != SQLITE_DONE;
}