Skip to content

Commit e1ae8b6

Browse files
committed
update
1 parent ae407ac commit e1ae8b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/orm/src/client/client-impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export class ClientImpl {
135135

136136
if (options.diagnostics) {
137137
const diagnosticsSchema = z.object({
138-
slowQueryThresholdMs: z.int().nonnegative().optional(),
138+
slowQueryThresholdMs: z.number().nonnegative().optional(),
139139
slowQueryMaxRecords: z.int().nonnegative().optional(),
140140
});
141141
const parseResult = diagnosticsSchema.safeParse(options.diagnostics);

0 commit comments

Comments
 (0)