jeremie-stratumn
03/27/2018, 8:16 AMimport { fromEvent } from "graphcool-lib";
export default async event => {
const lib = fromEvent(event);
const client = lib.api("simple/v1");
const res = client.request(
`mutation {
deleteUser(id: "cjf9dqjab01da0161jl2q08s1"){
id
name
}
}`
);
return {
data: res
};
};
does not yield any data in res
. I can see in the logs that res = {}
Is that expected?