russell
11/11/2017, 11:06 PMif (!event.context.graphcool.pat) {
console.log('Please provide a valid root token!')
return { error: 'Facebook Authentication not configured correctly.'}
}
Anyone know why this is in the Facebook authentication example? I don't see any reason for checking if there is a root token here, it's not used in the function at all, and at first glance doesn't seem to be in the other auth examples