aboutsummaryrefslogtreecommitdiff
path: root/packages/server/src/routes/api/v1/index.ts
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-08-18 18:39:50 +0200
committerHampusM <hampus@hampusmat.com>2021-08-18 18:39:50 +0200
commit1e5309e7f842491a24e4c7a61ce1f69b695dfe17 (patch)
tree5ab77afd060f4bec601c183fb6509bb8882f573b /packages/server/src/routes/api/v1/index.ts
parentd1a1b7dc947063aef5f8375a6a1e03246b272c84 (diff)
Cleaned up backend routes's imports
Diffstat (limited to 'packages/server/src/routes/api/v1/index.ts')
-rw-r--r--packages/server/src/routes/api/v1/index.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/server/src/routes/api/v1/index.ts b/packages/server/src/routes/api/v1/index.ts
index 7997b4d..0a28409 100644
--- a/packages/server/src/routes/api/v1/index.ts
+++ b/packages/server/src/routes/api/v1/index.ts
@@ -1,12 +1,12 @@
import { FastifyPluginCallback } from "fastify";
-import { Repository } from "../../../git/repository";
-import { FastifyPluginOptions, Route } from "../../../types/fastify";
+import { Repository } from "git/repository";
+import { FastifyPluginOptions, Route } from "types/fastify";
import repo from "./repo";
import { verifyRepoName } from "../util";
import { Info as APIInfo } from "api";
-import { ServerError } from "../../../git/error";
+import { ServerError } from "git/error";
import { getRepositories, getRepository } from "./data";
-import { sources } from "../../../cache";
+import { sources } from "cache";
const reposEndpoints: FastifyPluginCallback<FastifyPluginOptions> = (fastify, opts, done) => {
fastify.route({