You've already forked pocketbase
mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-11-28 08:47:55 +02:00
updated comment
This commit is contained in:
@@ -94,7 +94,7 @@ func (api *fileApi) download(c echo.Context) error {
|
|||||||
|
|
||||||
adminOrAuthRecord, _ := api.findAdminOrAuthRecordByFileToken(token)
|
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 := *RequestData(c)
|
||||||
requestData.Admin = nil
|
requestData.Admin = nil
|
||||||
requestData.AuthRecord = nil
|
requestData.AuthRecord = nil
|
||||||
|
|||||||
Reference in New Issue
Block a user