Skip to content

Commit

Permalink
Add explicit Router annotation to fix fly deployment error
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin-Quinn51 committed Nov 22, 2024
1 parent 0ca3462 commit 4486046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/jobRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
deleteJobById,
} from "../controllers/jobsController.ts";

const router = Router();
const router: Router = Router();

router.get("/", asyncHandler(getJobs));
router.post("/", asyncHandler(createJob));
Expand Down

0 comments on commit 4486046

Please sign in to comment.