diff --git a/projects/common/src/error/internal-server-error.ts b/projects/common/src/error/internal-server-error.ts index f774f23..6406ab1 100644 --- a/projects/common/src/error/internal-server-error.ts +++ b/projects/common/src/error/internal-server-error.ts @@ -1,4 +1,4 @@ -import { HttpCode } from "backend/src/common/http-codes"; +import { HttpCode } from "../http-codes"; export class InternalServerError extends Error { constructor( diff --git a/projects/common/src/error/not-found-error.ts b/projects/common/src/error/not-found-error.ts index b7cbe6f..8caf5ba 100644 --- a/projects/common/src/error/not-found-error.ts +++ b/projects/common/src/error/not-found-error.ts @@ -1,4 +1,4 @@ -import { HttpCode } from "backend/src/common/http-codes"; +import { HttpCode } from "../http-codes"; export class NotFoundError extends Error { constructor( diff --git a/projects/common/src/error/rate-limit-error.ts b/projects/common/src/error/rate-limit-error.ts index 2e96fdf..9722f4e 100644 --- a/projects/common/src/error/rate-limit-error.ts +++ b/projects/common/src/error/rate-limit-error.ts @@ -1,4 +1,4 @@ -import { HttpCode } from "backend/src/common/http-codes"; +import { HttpCode } from "../http-codes"; export class RateLimitError extends Error { constructor( diff --git a/projects/backend/src/common/http-codes.ts b/projects/common/src/http-codes.ts similarity index 100% rename from projects/backend/src/common/http-codes.ts rename to projects/common/src/http-codes.ts