feat: allow hour durations

This commit is contained in:
Peter Steinberger
2025-12-26 01:34:46 +01:00
parent 9f7b1f0942
commit 19f87f0a89
5 changed files with 16 additions and 7 deletions

View File

@@ -463,7 +463,7 @@ const HeartbeatSchema = z
ctx.addIssue({
code: z.ZodIssueCode.custom,
path: ["every"],
message: "invalid duration (use ms, s, m)",
message: "invalid duration (use ms, s, m, h)",
});
}
})