diff options
Diffstat (limited to 'apps/web/app/api/v1/utils')
| -rw-r--r-- | apps/web/app/api/v1/utils/handler.ts | 2 | ||||
| -rw-r--r-- | apps/web/app/api/v1/utils/pagination.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/web/app/api/v1/utils/handler.ts b/apps/web/app/api/v1/utils/handler.ts index 84847d71..9154506d 100644 --- a/apps/web/app/api/v1/utils/handler.ts +++ b/apps/web/app/api/v1/utils/handler.ts @@ -6,7 +6,7 @@ import { import { TRPCError } from "@trpc/server"; import { z, ZodError } from "zod"; -import { Context } from "@hoarder/trpc"; +import { Context } from "@karakeep/trpc"; function trpcCodeToHttpCode(code: TRPCError["code"]) { switch (code) { diff --git a/apps/web/app/api/v1/utils/pagination.ts b/apps/web/app/api/v1/utils/pagination.ts index 1b438217..12a0b950 100644 --- a/apps/web/app/api/v1/utils/pagination.ts +++ b/apps/web/app/api/v1/utils/pagination.ts @@ -1,7 +1,7 @@ import { z } from "zod"; -import { MAX_NUM_BOOKMARKS_PER_PAGE } from "@hoarder/shared/types/bookmarks"; -import { zCursorV2 } from "@hoarder/shared/types/pagination"; +import { MAX_NUM_BOOKMARKS_PER_PAGE } from "@karakeep/shared/types/bookmarks"; +import { zCursorV2 } from "@karakeep/shared/types/pagination"; export const zPagination = z.object({ limit: z.coerce.number().max(MAX_NUM_BOOKMARKS_PER_PAGE).optional(), |
