hyperzoneH
Convex Communityβ€’2y agoβ€’
6 replies
hyperzone

Using clerk sdk inside a mutation

I might be doing this wrong so if so I hope someone corrects me
I'm trying to create a clerk organization inside a mutation because I also create a document with additional fields I need to be linked to the organization. I attempt to do that using the clerkClient from @clerk/clerk-sdk-node but I get Node errors when importing 'dotenv/config' at the top of the file. What is the correct way to do that?
Was this page helpful?