From 1e5309e7f842491a24e4c7a61ce1f69b695dfe17 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 18 Aug 2021 18:39:50 +0200 Subject: Cleaned up backend routes's imports --- packages/server/src/routes/repo.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'packages/server/src/routes/repo.ts') diff --git a/packages/server/src/routes/repo.ts b/packages/server/src/routes/repo.ts index 1088e6b..fadcaf0 100644 --- a/packages/server/src/routes/repo.ts +++ b/packages/server/src/routes/repo.ts @@ -1,9 +1,9 @@ -import { Repository } from "../git/repository"; -import { CoolFastifyRequest, Route, FastifyPluginOptions } from "../types/fastify"; -import { Tag } from "../git/tag"; +import { Repository } from "git/repository"; +import { CoolFastifyRequest, Route, FastifyPluginOptions } from "types/fastify"; +import { Tag } from "git/tag"; import { FastifyPluginCallback } from "fastify"; -import { verifyRepoName } from "../routes/api/util"; -import { ServerError } from "../git/error"; +import { verifyRepoName } from "./api/util"; +import { ServerError } from "git/error"; const repo: FastifyPluginCallback = (fastify, opts, done): void => { fastify.addHook("onRequest", async(req: CoolFastifyRequest, reply) => { -- cgit v1.2.3-18-g5258