feldrok
feldrok
Explore posts from servers
TtRPC
Created by feldrok on 5/26/2023 in #❓-help
Update Clerk Organization from TRPC Router (T3 Stack)
Hello, if anyone got an idea on how to handle this I would highly appreciate it. I have some organizations in my app and I have stored some information on the publicMetadata. I have a settings panel where an admin user will be able to change this information. I have read https://clerk.com/docs/nextjs/trpc as well as setting up the context like this project https://github.com/perkinsjr/t3-app-clerk-minimal/blob/main/src/server/api/trpc.ts, but i've not been able to figure it out... Would I need to make an axios request from inside the procedure? How would i go on about making this update procedure? I've tried a few ways without success, any guidance would be highly appreciated.
2 replies