mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
fix(trace): 请求追踪详情默认展示全部候选记录
This commit is contained in:
@@ -60,7 +60,7 @@ export const requestTraceApi = {
|
||||
requestId: string,
|
||||
options: { attemptedOnly?: boolean } = {},
|
||||
): Promise<RequestTrace> {
|
||||
const attemptedOnly = options.attemptedOnly ?? true
|
||||
const attemptedOnly = options.attemptedOnly ?? false
|
||||
const response = await apiClient.get<RequestTrace>(`/api/admin/monitoring/trace/${requestId}`, {
|
||||
params: { attempted_only: attemptedOnly },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user