Skip to content

[Backend] Fix 3 broken module imports in hash/p2p/voting services #968

Description

@ayomideadeniran

🚀 Feature Overview

Three backend service files have non-existent module imports that prevent compilation: hash.service.ts imports ../db/prisma.js, p2p.service.ts imports ../db/prisma.js, and voting.service.ts imports ../db/prisma.js. These files are excluded from compilation, hiding the issues.

🛠️ Implementation Requirements

  • Fix all 3 broken imports to reference the correct Prisma client path
  • Verify the fix compiles correctly
  • Add basic smoke tests for these services

🔧 Technical Specifications

TypeScript, Prisma, Express.js

Acceptance Criteria

  • All 3 services compile without errors
  • Functionality is unchanged

🎓 Difficulty Level

Beginner

⏱️ Timeline

ETA: 1 hour

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbackendBackend related issuesbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions