From fb297eaadee9b741ddb6731a91eb4648020dcb3b Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 20 Oct 2024 13:54:05 +0000 Subject: featue: Add infra for REST APIs and implement GET /bookmarks --- apps/web/server/api/client.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/web/server') diff --git a/apps/web/server/api/client.ts b/apps/web/server/api/client.ts index fb2d84bc..5cf2bbe3 100644 --- a/apps/web/server/api/client.ts +++ b/apps/web/server/api/client.ts @@ -56,3 +56,5 @@ export const createContext = async ( const createCaller = createCallerFactory(appRouter); export const api = createCaller(createContext); + +export const createTrcpClientFromCtx = createCaller; -- cgit v1.2.3-70-g09d2