I'm having a problem passing authentication header...
# prisma-whats-new
j
I'm having a problem passing authentication headers through to my functions. The auto-generated mutations work (e.g. allTypeName()) as expected with an auth token tho, am i missing something?
n
you should be able to access the
nodeId
embedded in the auth token in a function, here's an example: https://github.com/graphcool-examples/functions/blob/master/payment-and-delivery/stripe-connect-standard-account/fetchStripeAccountId.js#L14
j
thank you @nilan that sorted everything 🙂
💚 1