Skip to content

Commit

Permalink
fixed naming issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ametel01 committed Dec 9, 2023
1 parent 1750f65 commit 3913605
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/backend/src/controllers/getLeaderBoard.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// backend/src/controllers/getLeaderBoard.ts
import { Request, Response } from "express";
import fetchLeaderBoard from "../services/fetchLeaderBoard";
import fetchLeaderBoard from "../services/fetchLeaderboard";

export const getLeaderBoard = async (req: Request, res: Response) => {
try {
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/routes/techLeaderboardRoute.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Router } from "express";
import { getTechLeaderBoard } from "../controllers/getTechLeaderboard"; // Replace with actual import
import getTechLeaderBoard from "../controllers/getTechLeaderBoard"; // Replace with actual import

const router = Router();

Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/server.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// backend/src/server.ts
import app from "./app";

const PORT = process.env.PORT || 3000;
const PORT = process.env.PORT || 5000;

app.listen(PORT, () => {
console.log(`Server running on http://localhost:${PORT}`);
Expand Down

0 comments on commit 3913605

Please sign in to comment.