Skip to content

Commit 4923a5b

Browse files
committed
Fix API response
1 parent 2d5a3c5 commit 4923a5b

File tree

2 files changed

+2
-2
lines changed
  • src

2 files changed

+2
-2
lines changed

src/components/Agentic/IncidentTemplate/MCPServerDialog/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const MCPServerDialog = ({
2323
}: MCPServerDialogProps) => {
2424
const [currentStep, setCurrentStep] = useState(0);
2525
const [connectionSettings, setConnectionSettings] = useState(
26-
serverData?.connection ?? ""
26+
serverData?.config ?? ""
2727
);
2828
const [testServerError, setTestServerError] = useState<string>();
2929
const [addServerError, setAddServerError] = useState<string>();

src/redux/services/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ export interface DeleteIncidentAgentDirectivePayload {
12321232
export interface MCPServerData {
12331233
uid: string;
12341234
name: string;
1235-
connection: string;
1235+
config: string;
12361236
agents: string[];
12371237
editable: boolean;
12381238
selected_tools: string[];

0 commit comments

Comments
 (0)