Skip to content

Commit

Permalink
Ageitando algumas coisas no back. - 5
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielSS187 committed Feb 14, 2023
1 parent 29f2fa0 commit d16b4ec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion back-end/src/Errors/TodoErrors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CustomError } from "./customError";
import { CustomError } from "./CustomError";

export class ErrorTodo extends CustomError {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion back-end/src/Errors/userErrors.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CustomError } from "./customError";
import { CustomError } from "./CustomError";

export class ErrorUser extends CustomError {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion back-end/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "express-async-errors";
import { userRoutes } from "./routes/userRoutes";
import { todoRoutes } from "./routes/todoRoutes";
import { authMiddleware } from "./middlewares/authMiddleware";
import { CustomError } from "./errors/customError";
import { CustomError } from "./errors/CustomError";


app.use("/user", userRoutes);
Expand Down
2 changes: 1 addition & 1 deletion back-end/src/useCases/todoCases/TodoCases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
TDeleteRequest,
TGetAllTodos
} from "./validations";
import { ErrorTodo } from "../../errors/todoErrors";
import { ErrorTodo } from "../../errors/TodoErrors";

export class TodoCases {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion back-end/src/useCases/userCases/UserCases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
signInRequestSchema
} from "./validations";

import { ErrorUser } from "../../errors/userErrors";
import { ErrorUser } from "../../errors/UserErrors";

export class UserCases {
constructor(
Expand Down

1 comment on commit d16b4ec

@vercel
Copy link

@vercel vercel bot commented on d16b4ec Feb 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.