From de6aeac243036058eda59aab439984010e8ccd16 Mon Sep 17 00:00:00 2001 From: Enrique Date: Fri, 4 Oct 2024 11:46:14 +0200 Subject: [PATCH] fix(application.create): add missing return statement and align response with application.one --- apps/dokploy/server/api/routers/application.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/dokploy/server/api/routers/application.ts b/apps/dokploy/server/api/routers/application.ts index 4c43fe7c..92a2f862 100644 --- a/apps/dokploy/server/api/routers/application.ts +++ b/apps/dokploy/server/api/routers/application.ts @@ -72,6 +72,7 @@ export const applicationRouter = createTRPCRouter({ if (ctx.user.rol === "user") { await addNewService(ctx.user.authId, newApplication.applicationId); } + return newApplication; } catch (error: unknown) { if (error instanceof TRPCError) { throw error;