mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-30 00:32:30 +08:00
### What problem does this PR solve? Feat: Remove HMAC from the webhook #10427 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -2,6 +2,7 @@ import {
|
||||
IAgentLogsRequest,
|
||||
IPipeLineListRequest,
|
||||
} from '@/interfaces/database/agent';
|
||||
import { IAgentWebhookTraceRequest } from '@/interfaces/request/agent';
|
||||
import api from '@/utils/api';
|
||||
import { registerNextServer } from '@/utils/register-server';
|
||||
import request from '@/utils/request';
|
||||
@ -143,4 +144,11 @@ export const fetchPipeLineList = (params: IPipeLineListRequest) => {
|
||||
return request.get(api.listCanvas, { params: params });
|
||||
};
|
||||
|
||||
export const fetchWebhookTrace = (
|
||||
id: string,
|
||||
params: IAgentWebhookTraceRequest,
|
||||
) => {
|
||||
return request.get(api.fetchWebhookTrace(id), { params: params });
|
||||
};
|
||||
|
||||
export default agentService;
|
||||
|
||||
Reference in New Issue
Block a user