( mutation: DocumentNode, @@ -40,9 +85,7 @@ export function createUploadPostData
(
variables,
query: print(mutation),
},
- map: filePathsArray.reduce((output, filePath, i) => {
- return { ...output, [i.toString()]: objectPath(variables, i).join('.') };
- }, {} as Record (
return postData;
}
-function objectPath(variables: any, i: number): Array