mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-25 21:28:47 +00:00
fix compose.create not returning result
when calling the compose create api, a empty result was returned
This commit is contained in:
@@ -79,6 +79,8 @@ export const composeRouter = createTRPCRouter({
|
|||||||
if (ctx.user.rol === "user") {
|
if (ctx.user.rol === "user") {
|
||||||
await addNewService(ctx.user.authId, newService.composeId);
|
await addNewService(ctx.user.authId, newService.composeId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return newService;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user