From 3abffec9cba5ecb86118a4f7f2cea5f6557e67a0 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 25 Oct 2024 21:34:26 +0100 Subject: [PATCH] oops --- projects/common/src/error/internal-server-error.ts | 2 +- projects/common/src/error/not-found-error.ts | 2 +- projects/common/src/error/rate-limit-error.ts | 2 +- projects/{backend/src/common => common/src}/http-codes.ts | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename projects/{backend/src/common => common/src}/http-codes.ts (100%) 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