fix: keep usage log filters exact unless wildcard is explicit (#5097)
This commit is contained in:
@@ -38,7 +38,7 @@ const logTypeSearchSchema = z
|
||||
const usageLogsSearchSchema = z.object({
|
||||
page: z.number().optional().catch(1),
|
||||
pageSize: z.number().optional().catch(undefined),
|
||||
type: logTypeSearchSchema,
|
||||
type: logTypeSearchSchema.optional(),
|
||||
filter: z.string().optional().catch(''),
|
||||
model: z.string().optional().catch(''),
|
||||
token: z.string().optional().catch(''),
|
||||
|
||||
Reference in New Issue
Block a user