[PR #4303] [MERGED] fix: team id zod schema meta property for array type #5303

Closed
opened 2026-03-13 12:17:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4303
Author: @Kinfe123
Created: 8/29/2025
Status: Merged
Merged: 8/29/2025
Merged by: @Kinfe123

Base: canaryHead: fix/team-id-body-zod-schema


📝 Commits (5)

📊 Changes

1 file changed (+4 additions, -7 deletions)

View changed files

📝 packages/better-auth/src/plugins/organization/routes/crud-invites.ts (+4 -7)

📄 Description

Summary by cubic

Fixes the invite payload Zod schema by moving the meta description to the array level and updating the text to “team IDs” to match the array type. No runtime changes—just accurate metadata and minor formatting cleanup.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/4303 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 8/29/2025 **Status:** ✅ Merged **Merged:** 8/29/2025 **Merged by:** [@Kinfe123](https://github.com/Kinfe123) **Base:** `canary` ← **Head:** `fix/team-id-body-zod-schema` --- ### 📝 Commits (5) - [`5dcf569`](https://github.com/better-auth/better-auth/commit/5dcf5692efccd19f18e281034e47e4449e285cf8) fix: team-id union array meta data - [`ae643f4`](https://github.com/better-auth/better-auth/commit/ae643f41d4c1d95fdd226570d8f80230733a83e4) lint - [`e8eb87e`](https://github.com/better-auth/better-auth/commit/e8eb87eb043ace443ff6f7fb0c86e9c028855dd4) update - [`838147e`](https://github.com/better-auth/better-auth/commit/838147ea8f5eb51af3690bd43b079c91914803c4) update - [`edca2c7`](https://github.com/better-auth/better-auth/commit/edca2c7bc0477af26bc039402c5ae4ec82f59827) update ### 📊 Changes **1 file changed** (+4 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/organization/routes/crud-invites.ts` (+4 -7) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fixes the invite payload Zod schema by moving the meta description to the array level and updating the text to “team IDs” to match the array type. No runtime changes—just accurate metadata and minor formatting cleanup. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:17:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5303