From b027d21589a3b4d561ee347c8f103d9bb21fdc16 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Tue, 24 Feb 2026 18:38:26 -0600 Subject: [PATCH] refactor: simplify API configuration by returning links directly and moving transformer to the main return object for improved clarity --- apps/dokploy/utils/api.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/dokploy/utils/api.ts b/apps/dokploy/utils/api.ts index aa5867fb5..d7f165f6a 100644 --- a/apps/dokploy/utils/api.ts +++ b/apps/dokploy/utils/api.ts @@ -73,12 +73,10 @@ const links = export const api = createTRPCNext({ config() { - return { - transformer: superjson, - links, - }; + return { links }; }, ssr: false, + transformer: superjson, }); export type RouterInputs = inferRouterInputs;