in a custom resolver, how can I check if the user ...
# prisma-whats-new
j
in a custom resolver, how can I check if the user is authenticated?
j
thanks @nilan when doing the query do I just send the auth token via the headers like I normally do?
n
yes
j
ok, perfect, thanks!
@nilan is there a way to get currentUser in custom resolver?