Found graphql input objects.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user