Skip to content

[Wave 200pts] CHORE: src/modules/transactions/contorllers directory name is a typo for 'controllers' #1156

Description

@portableDD

Summary

The controllers for the live, AppModule-wired TransactionsModule under src/modules/transactions/ live in a directory literally named contorllers (missing an l, extra o) — confirmed via ls src/modules/transactions, showing contorllers/transactions.controller.ts and contorllers/admin-transactions.controller.ts — rather than the conventional controllers used by every sibling module in src/modules/ (account-freeze/controllers/, admin/controllers/, api-keys/controllers/, etc.).

Why This Matters

This is a small but genuinely confusing inconsistency: anyone searching the codebase by the conventional controllers/ path (as every other src/modules/* directory uses) will not find this module's controllers, and IDE "go to file"/glob-based tooling that assumes the standard spelling will silently miss it. It's a low-risk, high-clarity cleanup item.

What Needs to Be Done

  • Rename src/modules/transactions/contorllers/ to src/modules/transactions/controllers/ and update the corresponding import paths in transactions.module.ts and anywhere else that references the directory.
  • Grep the codebase for any other similarly misspelled directory/file names while this is being cleaned up.

Key Files

  • src/modules/transactions/contorllers/transactions.controller.ts
  • src/modules/transactions/contorllers/admin-transactions.controller.ts
  • src/modules/transactions/transactions.module.ts (import paths referencing the directory)

Acceptance Criteria

  • The directory is renamed to controllers
  • All imports referencing the old contorllers path are updated
  • nest build succeeds after the rename with no broken import paths

Points: 200
Category: CHORE

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions