MAKING CREDENTIALS WORKS

This commit is contained in:
2026-02-15 16:38:04 -06:00
parent cdae4d47a4
commit 6d951e426d
5 changed files with 31 additions and 18 deletions
+1 -2
View File
@@ -6,7 +6,7 @@ import { ContentfulStatusCode } from "hono/utils/http-status";
import { authMiddleware } from "../middleware/authorization";
import { z } from "zod";
/* /v1/credential/create */
/* /v1/credential */
export default createRoute(
"post",
["/credentials"],
@@ -20,7 +20,6 @@ export default createRoute(
companyId: z.string().min(1, "Company ID is required"),
fields: z.array(
z.object({
id: z.string(),
fieldId: z.string(),
value: z.string(),
}),