mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor(mount): enhance updateMount function with transaction handling and improved error management
This commit is contained in:
@@ -31,7 +31,6 @@ export const mountRouter = createTRPCRouter({
|
||||
update: protectedProcedure
|
||||
.input(apiUpdateMount)
|
||||
.mutation(async ({ input }) => {
|
||||
await updateMount(input.mountId, input);
|
||||
return true;
|
||||
return await updateMount(input.mountId, input);
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user