Skip to content

Commit

Permalink
lint: fixed linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyton505 committed Nov 10, 2024
1 parent 7bd479c commit ce7feb1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/src/controllers/auth0-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const errorHandler = (
error: any,
request: Request,
response: Response,
next: NextFunction
next: NextFunction,
) => {
console.log("Auth Error");

Expand Down
2 changes: 1 addition & 1 deletion api/src/controllers/auth0-notFound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Request, Response, NextFunction } from "express";
export const notFoundHandler = (
request: Request,
response: Response,
next: NextFunction
next: NextFunction,
) => {
const message = "Not Found";

Expand Down
2 changes: 1 addition & 1 deletion api/src/routes/workshop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ router.get(
"/workshops/:id",
async (req: express.Request, res: express.Response) => {
await getWorkshop(req, res);
}
},
);

router.post("/testId/:id", async (req: any, res: any) => {
Expand Down
2 changes: 1 addition & 1 deletion api/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ app.use(notFoundHandler);
app.use(errorHandler);

app.listen(process.env.PORT || 8000, () =>
console.log(`Server running on port ${process.env.PORT || 8000}`)
console.log(`Server running on port ${process.env.PORT || 8000}`),
);

0 comments on commit ce7feb1

Please sign in to comment.