From 5d80480d75050cfa7c45a24a6b31be558ac96ca2 Mon Sep 17 00:00:00 2001 From: sauls8t Date: Mon, 25 Jun 2018 19:40:04 +0100 Subject: [PATCH] Comment fix for attachment endpoint --- domain/attachment/endpoint.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/domain/attachment/endpoint.go b/domain/attachment/endpoint.go index acb0b7b7..91400dc9 100644 --- a/domain/attachment/endpoint.go +++ b/domain/attachment/endpoint.go @@ -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)