picosam
08/31/2017, 9:26 PMagartha
08/31/2017, 9:29 PMgraphcool-lib
when event.context.graphcool is undefined. In a SE, that should be populated automatically. The example event should not contain headers.picosam
08/31/2017, 9:30 PMagartha
08/31/2017, 9:31 PMconsole.log(event.context.graphcool)
inside your function. When doing a test run, you should see 'pat' and 'projectId' being logged.picosam
08/31/2017, 9:31 PMpicosam
08/31/2017, 9:32 PMagartha
08/31/2017, 9:32 PMagartha
08/31/2017, 9:32 PMpicosam
08/31/2017, 9:33 PMpicosam
08/31/2017, 9:33 PMpicosam
08/31/2017, 9:33 PMagartha
08/31/2017, 9:34 PM"context" : { headers: {} }
agartha
08/31/2017, 9:35 PMpicosam
08/31/2017, 9:36 PMagartha
08/31/2017, 9:36 PM