Skip to content

Commit c9fc40a

Browse files
Moumoulsmtrezza
andauthored
Update src/GraphQL/loaders/filesMutations.js
Co-authored-by: Manuel <[email protected]> Signed-off-by: Antoine Cormouls <[email protected]>
1 parent 12df37f commit c9fc40a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/GraphQL/loaders/filesMutations.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ import Parse from 'parse/node';
66
import * as defaultGraphQLTypes from './defaultGraphQLTypes';
77
import 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
1311
const handleUpload = async (upload, config) => {
1412
const { createReadStream, filename, mimetype } = await upload;
1513
const headers = { ...config.headers };

0 commit comments

Comments
 (0)