fix download
This commit is contained in:
parent
24cb08c6b7
commit
77a4f42932
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ func (TreeManagerServer *server) DownloadAttachment(
|
|||
responseStream TreeManager_DownloadAttachmentServer,
|
||||
) error {
|
||||
file, err := os.Open(
|
||||
path.Clean(fmt.Sprintf("%s/%s/%s", source, &config.AttachmentDirName, in.Path)),
|
||||
path.Clean(fmt.Sprintf("%s/%s/%s", source, config.AttachmentDirName, in.Path)),
|
||||
)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue