Revise ssh host alias PR

This commit is contained in:
Tuan Dang
2025-04-26 18:18:22 -07:00
parent de63c8cb6c
commit 3d89a7f45d
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ export const registerSshHostRouter = async (server: FastifyZodProvider) => {
message: "Alias must be a valid slug"
})
.optional()
.describe(SSH_HOSTS.CREATE.alias),
.describe(SSH_HOSTS.UPDATE.alias),
userCertTtl: z
.string()
.refine((val) => ms(val) > 0, "TTL must be a positive number")