Skip to content

fix: resolve syntax errors and missing imports in registration logic#369

Open
Goutam-2702 wants to merge 1 commit into
anubhavxdev:mainfrom
Goutam-2702:fix/registration-controller-syntax
Open

fix: resolve syntax errors and missing imports in registration logic#369
Goutam-2702 wants to merge 1 commit into
anubhavxdev:mainfrom
Goutam-2702:fix/registration-controller-syntax

Conversation

@Goutam-2702
Copy link
Copy Markdown

@Goutam-2702 Goutam-2702 commented Jun 1, 2026

Closes #368

This PR fixes a critical SyntaxError in backend/src/controllers/registrationController.js caused by incorrectly merged git conflicts (unmatched braces and duplicated functions). It also fixes undefined endpoints being imported into registrationRoutes.js.

Testing Steps

  1. Clone this branch and start the backend server (
    pm run dev or
    ode src/app.js in the �ackend directory).
  2. Verify that the server starts up without any SyntaxError: Unexpected token 'catch' crash.
  3. Review the code to ensure no functionality was lost during conflict resolution.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 1, 2026

@Goutam-2702 is attempting to deploy a commit to the anubhav12302387's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

👋 Thanks for opening a PR, @Goutam-2702!

Your PR has entered the 🎯 EventOne GSSoC PR Review Pipeline.

🟢 GSSoC PR detected — your PR will be routed to an approved GSSoC mentor for Stage 2 review.

What happens next

Stage Reviewer Checks
Stage 1 — Automated Validation 🤖 Bot Title format · Issue link · AI Slop · Branch check
Stage 2 — Mentor Review 🧑‍🏫 GSSoC Mentor Code + Quality Review
Stage 3 — Admin Final Gate 🔑 @anubhavxdev Label check + Final Merge Decision

A pipeline status comment will appear below and update automatically as your PR progresses.


While you wait

  • Sign all commits using git commit -s
  • Link your issue with Closes #123
  • Use a feature branch — not main
  • Avoid unrelated changes in the same PR
  • Write your own description — no AI-generated content

This comment is posted only once.

EventOne × GSSoC Automated Pipeline

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

❌ PR Format Check — Failed — Please Fix Below

Hi @Goutam-2702! Please fix the issues below before your PR can proceed to mentor review.

❌ Must Fix Before Proceeding

Issue #368 is not assigned to you (@Goutam-2702) — You must be assigned to the issue before submitting a PR.

Comment /assign on Issue #368 or ask a maintainer to assign it to you.


📋 EventOne PR Guidelines (click to expand)

Title format — Conventional Commits:
feat: · fix: · docs: · style: · refactor: · test: · chore: · perf:

Always link an issue: Closes #number

Use a feature branch — never PR directly from main

Write your own description — AI-generated content = gssoc:ai-slop label

EventOne × GSSoC Pipeline — Stage 1 Automated Check

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.

[BUG] CRITICAL: SyntaxError in backend/src/controllers/registrationController.js prevents server startup

1 participant