mirror of
https://github.com/documize/community.git
synced 2025-07-26 00:29:47 +02:00
Comment fix for attachment endpoint
This commit is contained in:
parent
ecc306136a
commit
5d80480d75
1 changed files with 1 additions and 2 deletions
|
@ -41,8 +41,7 @@ type Handler struct {
|
||||||
Indexer indexer.Indexer
|
Indexer indexer.Indexer
|
||||||
}
|
}
|
||||||
|
|
||||||
// Download is the end-point that responds to a request for a particular attachment
|
// Download sends requested file to the client/browser.
|
||||||
// by sending the requested file to the client.
|
|
||||||
func (h *Handler) Download(w http.ResponseWriter, r *http.Request) {
|
func (h *Handler) Download(w http.ResponseWriter, r *http.Request) {
|
||||||
method := "attachment.Download"
|
method := "attachment.Download"
|
||||||
ctx := domain.GetRequestContext(r)
|
ctx := domain.GetRequestContext(r)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue