From 1720c82570e5825ab7ac725bb899fc038331a5b5 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Mon, 17 Jul 2023 00:08:06 +0300 Subject: [PATCH] updated comment --- apis/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/file.go b/apis/file.go index 36c288b7..596c7cd8 100644 --- a/apis/file.go +++ b/apis/file.go @@ -94,7 +94,7 @@ func (api *fileApi) download(c echo.Context) error { adminOrAuthRecord, _ := api.findAdminOrAuthRecordByFileToken(token) - // create a copy of the cached request data and adjust it to the current auth record + // create a copy of the cached request data and adjust it for the current auth model requestData := *RequestData(c) requestData.Admin = nil requestData.AuthRecord = nil