diff --git a/src/server/rpc/availability.ts b/src/server/rpc/availability.ts index c14ca79..be23bae 100644 --- a/src/server/rpc/availability.ts +++ b/src/server/rpc/availability.ts @@ -1,7 +1,7 @@ import { call, os } from "@orpc/server"; import { z } from "zod"; import { randomUUID } from "crypto"; -import { createKV } from "../lib/create-kv"; +import { createKV } from "../lib/create-kv.js"; const AvailabilitySchema = z.object({ id: z.string(), diff --git a/src/server/rpc/cancellation.ts b/src/server/rpc/cancellation.ts index f59164d..9e68534 100644 --- a/src/server/rpc/cancellation.ts +++ b/src/server/rpc/cancellation.ts @@ -1,7 +1,7 @@ import { call, os } from "@orpc/server"; import { z } from "zod"; -import { createKV } from "../lib/create-kv"; -import { createKV as createAvailabilityKV } from "@/server/lib/create-kv"; +import { createKV } from "../lib/create-kv.js"; +import { createKV as createAvailabilityKV } from "../lib/create-kv.js"; import { randomUUID } from "crypto"; // Schema for booking access token (used for both status viewing and cancellation) diff --git a/src/server/rpc/legal.ts b/src/server/rpc/legal.ts index 8a3f7f9..4d1fdca 100644 --- a/src/server/rpc/legal.ts +++ b/src/server/rpc/legal.ts @@ -1,5 +1,5 @@ import { os } from "@orpc/server"; -import { getLegalConfig } from "../lib/legal-config"; +import { getLegalConfig } from "../lib/legal-config.js"; export const router = { getConfig: os.handler(async () => { diff --git a/src/server/rpc/treatments.ts b/src/server/rpc/treatments.ts index 78cf419..ffaaaf1 100644 --- a/src/server/rpc/treatments.ts +++ b/src/server/rpc/treatments.ts @@ -1,7 +1,7 @@ import { call, os } from "@orpc/server"; import { z } from "zod"; import { randomUUID } from "crypto"; -import { createKV } from "../lib/create-kv"; +import { createKV } from "../lib/create-kv.js"; const TreatmentSchema = z.object({ id: z.string(),