Skip to content

Commit d1c259d

Browse files
authored
Update src/GraphQL/transformers/mutation.js
Signed-off-by: Manuel <[email protected]>
1 parent 7ee2dc3 commit d1c259d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GraphQL/transformers/mutation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ const transformTypes = async (
4444
fields[field] = transformers.polygon(fields[field]);
4545
break;
4646
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
47+
// Use `originalFields` to handle file upload since fields are a deepcopy and do not
48+
// keep the file object
4949
fields[field] = await transformers.file(originalFields[field], req);
5050
break;
5151
case parseClass.fields[field].type === 'Relation':

0 commit comments

Comments
 (0)