rename loc in response to locator

This commit is contained in:
Umputun
2018-01-28 16:22:03 -06:00
parent a0632c89f8
commit de2188f1a6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ func (a *admin) setPinCtrl(w http.ResponseWriter, r *http.Request) {
return
}
a.cache.Flush()
render.JSON(w, r, JSON{"id": commentID, "loc": locator, "pin": pinStatus})
render.JSON(w, r, JSON{"id": commentID, "locator": locator, "pin": pinStatus})
}
// GET /export?site=site-id?mode=file|stream