1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

api,db: add comments count endpoint

Closes https://gitlab.com/commento/commento-ce/issues/27
This commit is contained in:
Adhityaa Chandrasekar
2018-09-23 00:40:06 -04:00
parent 299649cea2
commit 330131f390
6 changed files with 118 additions and 2 deletions

View File

@ -9,6 +9,8 @@ func pageUpdate(p page) error {
return errorMissingField
}
// fields to not update:
// commentCount
statement := `
INSERT INTO
pages (domain, path, isLocked)