You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cloud-code/Parse.Cloud.js
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -757,6 +757,8 @@ module.exports = ParseCloud;
757
757
* @property {String} triggerName The name of the trigger (`beforeSave`, `afterSave`)
758
758
* @property {Object} log The current logger inside Parse Server.
759
759
* @property {Object} config The Parse Server config.
760
+
* @property {Boolean} forceDownload (afterFind only) If set to `true`, the file response will include a `Content-Disposition: attachment` header, prompting the browser to download the file instead of displaying it inline.
761
+
* @property {Object} responseHeaders (afterFind only) The headers that will be set on the file response. By default contains `{ 'X-Content-Type-Options': 'nosniff' }`. Modify this object to add, change, or remove response headers.
0 commit comments