organizationId gives an error when passing to getFullOrganization() function

I have a SvelteKit project. I believe I have set up everything as in the docs. The create organization function works as does the get active organization function, but getFullOrganization function is not working. Any help appreciated!
No description
2 Replies
Ping
Ping2mo ago
pass organizationId under query.organizationId
shavs
shavsOP2mo ago
Hello! I apologize for not replying earlier. I got caught up in other things. I'll try out the solution soon and report back. Thank you! Hello again! Thank you. I tried your solution and it works 🙏 But why is it like this? I did read that 'query' key is required on the server code, but I am on a client page (in Svelte terms, I am on +page.svelte. The server side in svelte's case would be an accompanying +page.server.ts page). Is this a special case for SvelteKit?

Did you find this page helpful?