diff --git a/projects/backend/src/controller/image.controller.ts b/projects/backend/src/controller/image.controller.ts index 79b0c30..0fa4dd7 100644 --- a/projects/backend/src/controller/image.controller.ts +++ b/projects/backend/src/controller/image.controller.ts @@ -1,8 +1,5 @@ import { Controller, Get } from "elysia-decorators"; -import { PlayerService } from "../service/player.service"; import { t } from "elysia"; -import { PlayerHistory } from "@ssr/common/types/player/player-history"; -import { PlayerTrackedSince } from "@ssr/common/types/player/player-tracked-since"; import { ImageService } from "../service/image.service"; @Controller("/image") diff --git a/projects/backend/src/service/player.service.ts b/projects/backend/src/service/player.service.ts index ccd39af..35537a0 100644 --- a/projects/backend/src/service/player.service.ts +++ b/projects/backend/src/service/player.service.ts @@ -5,10 +5,6 @@ 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 ScoreSaberPlayerScoreToken from "@ssr/common/types/token/scoresaber/score-saber-player-score-token"; -import { ImageResponse } from "@vercel/og"; -import { formatNumberWithCommas, formatPp } from "website/src/common/number-utils"; -import { config } from "website/config"; -import React from "react"; export class PlayerService { /**