diff --git a/backend/app.ts b/backend/app.ts index 66c26fd..49296e1 100644 --- a/backend/app.ts +++ b/backend/app.ts @@ -10,8 +10,6 @@ import { runWithContext } from "./diachron/context"; import { core } from "./diachron/core"; import { httpCodes } from "./diachron/http-codes"; import { request } from "./diachron/request"; -import { routes } from "./routes"; - // import { URLPattern } from 'node:url'; import { AuthenticationRequired, @@ -26,6 +24,7 @@ import { type Result, type Route, } from "./diachron/types"; +import { routes } from "./routes"; const app = express(); diff --git a/backend/diachron/hydrators/hydrator.ts b/backend/diachron/hydrators/hydrator.ts index e2fe8e3..7738856 100644 --- a/backend/diachron/hydrators/hydrator.ts +++ b/backend/diachron/hydrators/hydrator.ts @@ -1,7 +1,7 @@ import { Kysely, PostgresDialect } from "kysely"; import { Pool } from "pg"; -import { connectionConfig } from "../database"; import type { DB } from "../../generated/db"; +import { connectionConfig } from "../database"; const db = new Kysely({ dialect: new PostgresDialect({