Skip to content

Commit 01dd533

Browse files
committed
Remove redundant min call.
1 parent 75e03cd commit 01dd533

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cache/src/schemas.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import z from 'zod'
22

33
export const cacheOptionsSchema = z.strictObject({
4-
ttl: z.int().positive().min(1).optional(),
5-
swr: z.int().positive().min(1).optional(),
4+
ttl: z.int().positive().optional(),
5+
swr: z.int().positive().optional(),
66
tags: z.string().array().optional(),
77
})
88

0 commit comments

Comments
 (0)