Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

chore(api): remove unused imports from config route

Andrej Acevski7397304dd051
diff --git a/apps/api/src/config/index.ts b/apps/api/src/config/index.ts
index 6deb94b1f..ca30827da 100644
--- a/apps/api/src/config/index.ts
+++ b/apps/api/src/config/index.ts
@@ -1,6 +1,6 @@
import { Hono } from "hono";
import { describeRoute, resolver } from "hono-openapi";
-import * as v from "valibot";
+import { configSchema } from "../schemas";
import getSettings from "../utils/get-settings";
const config = new Hono().get(
@@ -13,7 +13,7 @@ const config = new Hono().get(
200: {
description: "Application settings",
content: {
- "application/json": { schema: resolver(v.any()) },
+ "application/json": { schema: resolver(configSchema) },
},
},
},