feat: Add Cloud Code triggers Parse.Cloud.beforeFind(Parse.File)and Parse.Cloud.afterFind(Parse.File) (#8700)
This commit is contained in:
@@ -1004,6 +1004,9 @@ export async function maybeRunFileTrigger(triggerType, fileObject, config, auth)
|
||||
return fileObject;
|
||||
}
|
||||
const result = await fileTrigger(request);
|
||||
if (request.forceDownload) {
|
||||
fileObject.forceDownload = true;
|
||||
}
|
||||
logTriggerSuccessBeforeHook(
|
||||
triggerType,
|
||||
'Parse.File',
|
||||
|
||||
Reference in New Issue
Block a user