8000 Fix notification_level null handling for GitLab group owners by nsp · Pull Request #99 · zereight/gitlab-mcp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix notification_level null handling for GitLab group owners #99

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

nsp
Copy link
Contributor
@nsp nsp commented Jun 12, 2025

GitLab API returns null for notification_level when users are group owners, instead of a numeric value. This change updates the Zod schema to accept both number and null values for notification_level in both project_access and group_access permission objects.

Fixes TypeError when parsing repository permissions for group owners.

🤖 Generated with Claude Code

GitLab API returns null for notification_level when users are group owners,
instead of a numeric value. This change updates the Zod schema to accept
both number and null values for notification_level in both project_access
and group_access permission objects.

Fixes TypeError when parsing repository permissions for group owners.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@zereight zereight merged commit 83a8aa8 into zereight:main Jun 12, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0