mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-20 13:25:32 +02:00
refactor: update volume backup schema and form handling
- Modified the volume backup schema to enforce non-null constraints on volumeName and added serviceName. - Removed unnecessary fields (type, hostPath) from the schema and updated related API and form handling. - Enhanced form validation to ensure required fields are properly checked. - Updated the UI components to reflect changes in the volume backup management interface.
This commit is contained in:
@@ -70,7 +70,7 @@ export const volumeBackupsRouter = createTRPCRouter({
|
||||
|
||||
runManually: protectedProcedure
|
||||
.input(z.object({ volumeBackupId: z.string().min(1) }))
|
||||
.mutation(async ({ input }) => {
|
||||
.mutation(async () => {
|
||||
// return await runVolumeBackupManually(input.volumeBackupId);
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user