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';
6
6
import * as defaultGraphQLTypes from './defaultGraphQLTypes' ;
7
7
import logger from '../../logger' ;
8
8
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
13
11
const handleUpload = async ( upload , config ) => {
14
12
const { createReadStream, filename, mimetype } = await upload ;
15
13
const headers = { ...config . headers } ;
You can’t perform that action at this time.
0 commit comments