Skip to content

Commit

Permalink
Merge pull request #527 from kikoncuo/fix/application-create-missing-…
Browse files Browse the repository at this point in the history
…return

fix: Application create endpoint returns value
  • Loading branch information
Siumauricio authored Oct 4, 2024
2 parents 5ed96fb + de6aeac commit a2ee55e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/dokploy/server/api/routers/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a2ee55e

Please sign in to comment.