mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
foundational layer for inserting content and attachment links into content
This commit is contained in:
parent
5ca53ecb04
commit
7db618dea0
20 changed files with 1397 additions and 721 deletions
|
@ -40,7 +40,7 @@ func AttachmentDownload(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
params := mux.Vars(r)
|
||||
|
||||
attachment, err := p.GetAttachmentByJobAndFileID(params["orgID"], params["job"], params["fileID"])
|
||||
attachment, err := p.GetAttachment(params["orgID"], params["attachmentID"])
|
||||
|
||||
if err == sql.ErrNoRows {
|
||||
writeNotFoundError(w, method, params["fileID"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue