From 0e1fea52c6f5ed6963b1db617f9d7e245cb587ce Mon Sep 17 00:00:00 2001 From: "anatoly@nspcc.ru" Date: Wed, 10 Jun 2020 20:30:43 +0300 Subject: [PATCH] update format --- receive.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/receive.go b/receive.go index ad4ff19..f257290 100644 --- a/receive.go +++ b/receive.go @@ -142,8 +142,7 @@ func receiveObject(c *fasthttp.RequestCtx, cli object.Service_GetClient) error { if hdr.Key == object.FilenameHeader { if put { content_disp_type = "attachment" - } - else { + } else { content_disp_type = "inline" } // NOTE: we use path.Base because hdr.Value can be something like `/path/to/filename.ext`