1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 07:39:43 +02:00

Comment fix for attachment endpoint

This commit is contained in:
sauls8t 2018-06-25 19:40:04 +01:00
parent ecc306136a
commit 5d80480d75

View file

@ -41,8 +41,7 @@ type Handler struct {
Indexer indexer.Indexer
}
// Download is the end-point that responds to a request for a particular attachment
// by sending the requested file to the client.
// Download sends requested file to the client/browser.
func (h *Handler) Download(w http.ResponseWriter, r *http.Request) {
method := "attachment.Download"
ctx := domain.GetRequestContext(r)