mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-04 21:45:26 +02:00
fix(swager): add zod object in generate ssh key
This commit is contained in:
@@ -95,7 +95,11 @@ export const AddSSHKey = ({ children }: Props) => {
|
||||
variant={"secondary"}
|
||||
disabled={generateMutation.isLoading}
|
||||
className="max-sm:w-full"
|
||||
onClick={() => onGenerateSSHKey("rsa")}
|
||||
onClick={() =>
|
||||
onGenerateSSHKey({
|
||||
type: "rsa",
|
||||
})
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
Generate RSA SSH Key
|
||||
@@ -104,7 +108,11 @@ export const AddSSHKey = ({ children }: Props) => {
|
||||
variant={"secondary"}
|
||||
disabled={generateMutation.isLoading}
|
||||
className="max-sm:w-full"
|
||||
onClick={() => onGenerateSSHKey("ed25519")}
|
||||
onClick={() =>
|
||||
onGenerateSSHKey({
|
||||
type: "ed25519",
|
||||
})
|
||||
}
|
||||
type="button"
|
||||
>
|
||||
Generate ED25519 SSH Key
|
||||
|
||||
Reference in New Issue
Block a user