We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12df37f commit c9fc40aCopy full SHA for c9fc40a
src/GraphQL/loaders/filesMutations.js
@@ -6,10 +6,8 @@ import Parse from 'parse/node';
6
import * as defaultGraphQLTypes from './defaultGraphQLTypes';
7
import logger from '../../logger';
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
+// Handle GraphQL file upload and proxy file upload to GraphQL server url specified in config;
+// `createFile` is not directly called by Parse Server to leverage standard file upload mechanism
13
const handleUpload = async (upload, config) => {
14
const { createReadStream, filename, mimetype } = await upload;
15
const headers = { ...config.headers };
0 commit comments