fix: keep usage log filters exact unless wildcard is explicit (#5097)
This commit is contained in:
1 parent
dc245ae764
commit
1d32037364
3 files changed
+42
-28
No files matched your search
@@ -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