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 7ee2dc3 commit d1c259dCopy full SHA for d1c259d
src/GraphQL/transformers/mutation.js
@@ -44,8 +44,8 @@ const transformTypes = async (
44
fields[field] = transformers.polygon(fields[field]);
45
break;
46
case inputTypeField.type === defaultGraphQLTypes.FILE_INPUT:
47
- // We need to use the originalFields to handle the file upload
48
- // since fields are a deepcopy and do not keep the file object
+ // Use `originalFields` to handle file upload since fields are a deepcopy and do not
+ // keep the file object
49
fields[field] = await transformers.file(originalFields[field], req);
50
51
case parseClass.fields[field].type === 'Relation':
0 commit comments