Skip to content

Commit 522a702

Browse files
waleedlatif1claude
andcommitted
fix(agiloft): use DELETE method for EWRemoveAttachment endpoint
The remove_attachment tool was incorrectly using GET instead of DELETE for the Agiloft EWRemoveAttachment endpoint, which would cause removals to fail at runtime. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 762d2ae commit 522a702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/tools/agiloft/remove_attachment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const agiloftRemoveAttachmentTool: ToolConfig<
6767

6868
request: {
6969
url: 'https://placeholder.agiloft.com',
70-
method: 'GET',
70+
method: 'DELETE',
7171
headers: () => ({}),
7272
},
7373

@@ -76,7 +76,7 @@ export const agiloftRemoveAttachmentTool: ToolConfig<
7676
params,
7777
(base) => ({
7878
url: buildRemoveAttachmentUrl(base, params),
79-
method: 'GET',
79+
method: 'DELETE',
8080
}),
8181
async (response) => {
8282
const text = await response.text()

0 commit comments

Comments
 (0)