Skip to content

Commit c46d17e

Browse files
author
Ope Olatunji
committed
fix: agent delete uses engineCall not apiCall — bridge routes are under engine
1 parent 74d94db commit c46d17e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@agenticmail/enterprise",
3-
"version": "0.5.549",
3+
"version": "0.5.550",
44
"description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
55
"type": "module",
66
"bin": {

src/dashboard/pages/agent-detail/deployment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export function DeploymentSection(props) {
277277
}
278278
setDeleting(true);
279279
try {
280-
await apiCall('/bridge/agents/' + agentId, { method: 'DELETE' });
280+
await engineCall('/bridge/agents/' + agentId, { method: 'DELETE' });
281281
toast('Agent deleted', 'success');
282282
if (onBack) onBack();
283283
} catch (err) { toast(err.message, 'error'); }

src/dashboard/pages/agent-detail/overview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export function OverviewSection(props) {
131131
}
132132
setActing('delete');
133133
try {
134-
await apiCall('/bridge/agents/' + agentId, { method: 'DELETE' });
134+
await engineCall('/bridge/agents/' + agentId, { method: 'DELETE' });
135135
toast('Agent deleted', 'success');
136136
if (props.onBack) props.onBack();
137137
} catch (err) {

0 commit comments

Comments
 (0)