Description
The app.module.ts file has three modules registered twice in the imports array:
WebhookModule (appears twice)
WalletModule (appears twice)
SimulatorModule (appears twice)
File: apps/api/src/app.module.ts
Impact
Duplicate module registrations in NestJS can cause:
- Unexpected behavior with duplicate providers
- Increased memory usage
- Potential conflicts with dependency injection
Proposed Fix
Remove the duplicate entries, keeping only one instance of each module. Also clean up the commented-out TransactionModule import.
Acceptance Criteria
Description
The
app.module.tsfile has three modules registered twice in theimportsarray:WebhookModule(appears twice)WalletModule(appears twice)SimulatorModule(appears twice)File:
apps/api/src/app.module.tsImpact
Duplicate module registrations in NestJS can cause:
Proposed Fix
Remove the duplicate entries, keeping only one instance of each module. Also clean up the commented-out
TransactionModuleimport.Acceptance Criteria