Skip to content

Fix emergency controller lint errors#411

Merged
LoopyB merged 2 commits into
mainfrom
louisabest/chore/fix-emergency-lint
Jul 13, 2026
Merged

Fix emergency controller lint errors#411
LoopyB merged 2 commits into
mainfrom
louisabest/chore/fix-emergency-lint

Conversation

@LoopyB

@LoopyB LoopyB commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes two existing no-unused-vars ESLint errors in app-backend/src/controllers/emergency.controller.js.

Changes

  • Replaced two unused catch (error) parameters with catch
  • Preserved the existing 500 response behaviour
  • No emergency API behaviour was changed

Validation

  • npx eslint src/controllers/emergency.controller.js passed
  • git diff --check passed

@LoopyB
LoopyB merged commit a6f199f into main Jul 13, 2026
1 check failed
@LoopyB
LoopyB deleted the louisabest/chore/fix-emergency-lint branch July 13, 2026 10:50
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.

1 participant