Found graphql input objects.

This commit is contained in:
Patrick Fic
2019-12-14 13:53:56 -08:00
parent 36e8449383
commit 337048f0e9
8 changed files with 172 additions and 78 deletions

View File

@@ -25,7 +25,7 @@ function JobTombstone({ job, ...otherProps }) {
console.log("Received values of form: ", values);
mutationUpdateJob({
variables: { jobId: jobContext.id, job: JSON.stringify(values) }
variables: { jobId: jobContext.id, job: values }
}).then(r => console.log("result", r));
}
});