Skip to content

Railway Deployment #382e30 fix: add phone to VolunteerFormData - #72

Merged
railway-app[bot] merged 1 commit into
mainfrom
railway/fix-deploy-382e30
Jul 7, 2026
Merged

railway-app[bot] merged 1 commit into
mainfrom
railway/fix-deploy-382e30

Conversation

@railway-app

@railway-app railway-app Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Problem

The Next.js build fails TypeScript type checking because app/[locale]/join/page.tsx passes phone: data.get("phone") as string to submitVolunteerApplication(), but the VolunteerFormData interface in app/actions/submitVolunteer.ts does not include a phone property, causing a "Object literal may only specify known properties" type error.

Solution

Added phone: string to the VolunteerFormData interface after email, resolving the type mismatch. Also added the phone number to the admin notification email HTML so the collected data is forwarded to chapter leads.

Changes

  • Modified app/actions/submitVolunteer.ts

Context

  • Deployment: #382e30
  • Failed commit: e37a341

Generated by Railway

@railway-app
railway-app Bot merged commit 7eca026 into main Jul 7, 2026
1 check 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.

0 participants