mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-11 08:55:22 +02:00
fix(swager): add zod object in generate ssh key
This commit is contained in:
@@ -54,7 +54,7 @@ export const sshRouter = createTRPCRouter({
|
||||
generate: protectedProcedure
|
||||
.input(apiGenerateSSHKey)
|
||||
.mutation(async ({ input }) => {
|
||||
return await generateSSHKey(input);
|
||||
return await generateSSHKey(input.type);
|
||||
}),
|
||||
update: adminProcedure.input(apiUpdateSshKey).mutation(async ({ input }) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user