Skip to content

Commit c2488af

Browse files
committed
Fix headers and add abort signal
1 parent c2e1c51 commit c2488af

File tree

1 file changed

+2
-0
lines changed
  • src/components/Agentic/IncidentsContainer/CreateIncidentChatOverlay

1 file changed

+2
-0
lines changed

src/components/Agentic/IncidentsContainer/CreateIncidentChatOverlay/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ export const CreateIncidentChatOverlay = () => {
4646
}Agentic/incident-entry`,
4747
{
4848
method: "POST",
49+
credentials: "same-origin",
4950
headers: {
5051
"Content-Type": "application/json"
5152
},
53+
signal: abortControllerRef.current.signal,
5254
body: JSON.stringify({
5355
text
5456
}),

0 commit comments

Comments
 (0)