Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
fix(plugin-multi-tenant): fixed hardcoded user tenants field (#10782)
### What? When using custom slugs and field names the tenancy field added to the users would still attempt to use `tenants` and fail. ### Why? The tenant/tenancy are hardcoded in `tenantsArrayField()` ### How? Added the same args that are used in `tenantsField()` for the field names and relation.
R
Robert Clancy (Robbo) committed
9638dbe52b976a6bc59bb00303bf0184da732b94
Parent: 2f66bdc
Committed by GitHub <noreply@github.com>
on 1/29/2025, 6:27:00 PM