File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,8 @@ import Parse from 'parse/node';
66import * as defaultGraphQLTypes from './defaultGraphQLTypes' ;
77import logger from '../../logger' ;
88
9- // Handle graphql file upload and proxy the file upload
10- // to the graphql server url specified in the config
11- // We do not call directly createFile from the Parse Server
12- // to leverage the standard file upload mechanism
9+ // Handle GraphQL file upload and proxy file upload to GraphQL server url specified in config;
10+ // `createFile` is not directly called by Parse Server to leverage standard file upload mechanism
1311const handleUpload = async ( upload , config ) => {
1412 const { createReadStream, filename, mimetype } = await upload ;
1513 const headers = { ...config . headers } ;
You can’t perform that action at this time.
0 commit comments