From 970ab22e2f4caa455ae9ae407f48e307d08c7fba Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 15 Oct 2024 19:32:06 +0100 Subject: [PATCH] cleanup --- projects/backend/src/controller/image.controller.ts | 3 --- projects/backend/src/service/player.service.ts | 4 ---- 2 files changed, 7 deletions(-) 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 { /**