joas8211 / payload-tenancy

Multi-tenancy plugin for Payload CMS
MIT License
140 stars 8 forks source link

GraphQl playground not working after configuring plugin #30

Closed karishmagolani01 closed 11 months ago

karishmagolani01 commented 11 months ago

Nvm url for playground is /api/playground (src/plugin.ts) instead of default url as mentioned in docs (https://payloadcms.com/docs/graphql/overview) /api/graphql-playground. Pls update the doc for plugin @joas8211

joas8211 commented 11 months ago

The default GraphQL Playground route is now fixed with version v2.0.1. It's now correctly /api/graphql-playground. It was wrong due to me reading outdated / wrong code documentation from Payload. I opened an issue there to get the documentation (jsdoc comment) fixed: https://github.com/payloadcms/payload/issues/4037