From de68b8d8eebe29fd8e8b17f8e2ccc11788be0d7a Mon Sep 17 00:00:00 2001 From: zonescape <44441590+zonescape@users.noreply.github.com> Date: Tue, 29 Jan 2019 18:37:25 +0300 Subject: [PATCH] fix comment typo --- backend/app/rest/api/rest_public.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/rest/api/rest_public.go b/backend/app/rest/api/rest_public.go index 84b52e6a..c752256e 100644 --- a/backend/app/rest/api/rest_public.go +++ b/backend/app/rest/api/rest_public.go @@ -263,7 +263,7 @@ func (s *Rest) countCtrl(w http.ResponseWriter, r *http.Request) { render.JSON(w, r, R.JSON{"count": count, "locator": locator}) } -// POST /count?site=siteID - get number of comments for posts from post body +// POST /counts?site=siteID - get number of comments for posts from post body func (s *Rest) countMultiCtrl(w http.ResponseWriter, r *http.Request) { siteID := r.URL.Query().Get("site") posts := []string{}