You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(vercel): add install param parser and org requirement helper
- Add getVercelInstallParams(request) to extract Vercel installation
parameters (code, configurationId, next) from a request URL and only
return them when the integration param is "vercel" or absent. This
centralizes install URL parsing for Vercel flows.
- Add requireOrganization(request, organizationSlug) helper that
ensures the caller is an authenticated member of the organization,
returning the organization and userId or throwing a 404 response.
This enforces access control for org-scoped routes.
- Refactor EnvironmentVariablesPresenter to use a Vercel integration
service for fetching project integration and remove in-presenter
legacy migration/parsing logic. The presenter now relies on
VercelIntegrationService.getVercelProjectIntegration(projectId, true)
to obtain parsed integration data, simplifying responsibilities and
consolidating Vercel-related parsing/migration in the service layer.
These changes improve separation of concerns, centralize Vercel
integration parsing, and add a reusable org auth helper for request
handlers.
0 commit comments