aboutsummaryrefslogtreecommitdiff
path: root/packages/server/src/routes/api/v1/repo/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/server/src/routes/api/v1/repo/index.ts')
-rw-r--r--packages/server/src/routes/api/v1/repo/index.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/server/src/routes/api/v1/repo/index.ts b/packages/server/src/routes/api/v1/repo/index.ts
index f8e01d3..bc66b10 100644
--- a/packages/server/src/routes/api/v1/repo/index.ts
+++ b/packages/server/src/routes/api/v1/repo/index.ts
@@ -1,15 +1,15 @@
-import { CoolFastifyRequest, Route, FastifyPluginOptions } from "../../../../types/fastify";
+import { CoolFastifyRequest, Route, FastifyPluginOptions } from "types/fastify";
import { FastifyInstance, FastifyPluginCallback } from "fastify";
-import { Repository } from "../../../../git/repository";
-import { BaseTreeEntry, BlobTreeEntry, TreeEntry } from "../../../../git/tree_entry";
+import { Repository } from "git/repository";
+import { BaseTreeEntry, BlobTreeEntry, TreeEntry } from "git/tree_entry";
import { basename } from "path";
import branches from "./branches";
import log from "./log";
import { verifyRepoName } from "../../util";
import { Tree as APITree, TreeEntry as APITreeEntry } from "api";
-import { ServerError } from "../../../../git/error";
+import { ServerError } from "git/error";
import { getLogCommits, getTags } from "../data";
-import { sources } from "../../../../cache";
+import { sources } from "cache";
declare module "fastify" {
interface FastifyRequest {