fix error
This commit is contained in:
parent
97fba47fd8
commit
f20d83a436
@ -1,5 +1,5 @@
|
||||
import { SSRCache } from "@ssr/common/cache";
|
||||
import { InternalServerError } from "../error/internal-server-error";
|
||||
import { InternalServerError } from "@ssr/common/error/internal-server-error";
|
||||
import { isProduction } from "@ssr/common/utils/utils";
|
||||
|
||||
/**
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { PlayerDocument, PlayerModel } from "@ssr/common/model/player";
|
||||
import { NotFoundError } from "../error/not-found-error";
|
||||
import { NotFoundError } from "@ssr/common/error/not-found-error";
|
||||
import { getDaysAgoDate, getMidnightAlignedDate } from "@ssr/common/utils/time-utils";
|
||||
import { scoresaberService } from "@ssr/common/service/impl/scoresaber";
|
||||
import ScoreSaberPlayerToken from "@ssr/common/types/token/scoresaber/score-saber-player-token";
|
||||
import { InternalServerError } from "../error/internal-server-error";
|
||||
import { InternalServerError } from "@ssr/common/error/internal-server-error";
|
||||
import { formatPp } from "@ssr/common/utils/number-utils";
|
||||
import { delay, getPageFromRank, isProduction } from "@ssr/common/utils/utils";
|
||||
import { DiscordChannels, logToChannel } from "../bot/bot";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { HttpCode } from "../common/http-codes";
|
||||
import { HttpCode } from "backend/src/common/http-codes";
|
||||
|
||||
export class InternalServerError extends Error {
|
||||
constructor(
|
@ -1,4 +1,4 @@
|
||||
import { HttpCode } from "../common/http-codes";
|
||||
import { HttpCode } from "backend/src/common/http-codes";
|
||||
|
||||
export class NotFoundError extends Error {
|
||||
constructor(
|
@ -1,4 +1,4 @@
|
||||
import { HttpCode } from "../common/http-codes";
|
||||
import { HttpCode } from "backend/src/common/http-codes";
|
||||
|
||||
export class RateLimitError extends Error {
|
||||
constructor(
|
@ -1,5 +1,5 @@
|
||||
import { NotFoundError } from "backend/src/error/not-found-error";
|
||||
import { Metadata } from "./types/metadata";
|
||||
import { NotFoundError } from "./error/not-found-error";
|
||||
|
||||
type FetchItemsFunction<T> = (fetchItems: FetchItems) => Promise<T[]>;
|
||||
|
||||
|
Reference in New Issue
Block a user