From e6eeb759bd23814a529fbcd98c7b6ad7b21fb91f Mon Sep 17 00:00:00 2001 From: xangelo Date: Tue, 5 Sep 2023 10:58:59 -0400 Subject: [PATCH] chore: move healer handler --- .../locations/{healer/index.ts => healer.ts} | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) rename src/server/locations/{healer/index.ts => healer.ts} (92%) diff --git a/src/server/locations/healer/index.ts b/src/server/locations/healer.ts similarity index 92% rename from src/server/locations/healer/index.ts rename to src/server/locations/healer.ts index 83551b2..2d12db0 100644 --- a/src/server/locations/healer/index.ts +++ b/src/server/locations/healer.ts @@ -1,13 +1,13 @@ import { Response, Router } from "express"; -import { maxHp, maxVigor } from "../../../shared/player"; -import { authEndpoint, AuthRequest } from '../../auth'; -import { logger } from "../../lib/logger"; -import { updatePlayer } from "../../player"; -import { getCityDetails, getService } from '../../map'; +import { maxHp, maxVigor } from "../../shared/player"; +import { authEndpoint, AuthRequest } from '../auth'; +import { logger } from "../lib/logger"; +import { updatePlayer } from "../player"; +import { getCityDetails, getService } from '../map'; import { sample } from 'lodash'; -import { City, Location } from "../../../shared/map"; -import { renderPlayerBar } from "../../views/player-bar"; -import { BackToTown } from "../../views/components/button"; +import { City, Location } from "../../shared/map"; +import { renderPlayerBar } from "../views/player-bar"; +import { BackToTown } from "../views/components/button"; export const router = Router(); -- 2.25.1