Chore: code cleaning

This commit is contained in:
Grail Finder
2025-07-08 10:17:32 +03:00
parent ce5d55cc13
commit 9a0e8d01ba
5 changed files with 7 additions and 67 deletions

View File

@ -248,7 +248,7 @@ func HandleMarkCard(w http.ResponseWriter, r *http.Request) {
return
}
} else {
// TODO: if mark was found, it needs to be removed
// if mark was found, it needs to be removed
if err := repo.CardMarksRemove(r.Context(), card.ID, fi.State.Username); err != nil {
log.Error("failed to remove mark", "error", err, "card", card)
abortWithError(w, "failed to remove mark")