From 22e44b4ef5f74f7058c01ade82ce14aaf9214f18 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 23 Jul 2021 14:02:57 +0200 Subject: Cleaned and improved the backend Put the initial Fastify stuff into a dedicated file, organized the types & made several improvements in the git http backend --- packages/server/src/api/v1/repo/branches.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/server/src/api/v1/repo/branches.ts') diff --git a/packages/server/src/api/v1/repo/branches.ts b/packages/server/src/api/v1/repo/branches.ts index c01e858..4aa6665 100644 --- a/packages/server/src/api/v1/repo/branches.ts +++ b/packages/server/src/api/v1/repo/branches.ts @@ -1,6 +1,6 @@ import { FastifyInstance, FastifyPluginOptions } from "fastify"; import { Branch } from "../../../git/branch"; -import { Route } from "../../../fastify_types"; +import { Route } from "../../../types/fastify"; import { BranchSummary as APIBranchSummary, Branch as APIBranch } from "shared_types"; export default function(fastify: FastifyInstance, opts: FastifyPluginOptions, done: (err?: Error) => void): void { -- cgit v1.2.3-18-g5258