From bd149f0daacab3db1d678358152b5e49735003fc Mon Sep 17 00:00:00 2001 From: vimtor Date: Wed, 24 Jun 2026 12:43:39 +0200 Subject: [PATCH] fix(enterprise): use delete for remove share --- packages/enterprise/src/routes/api/[...path].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/enterprise/src/routes/api/[...path].ts b/packages/enterprise/src/routes/api/[...path].ts index 54c6906d3..4677d68d3 100644 --- a/packages/enterprise/src/routes/api/[...path].ts +++ b/packages/enterprise/src/routes/api/[...path].ts @@ -139,7 +139,7 @@ app return c.json({}) }, ) - .post("/support/actions/remove-share", async (c) => { + .delete("/support/actions/remove-share", async (c) => { const authorization = c.req.header("authorization") const expected = `Bearer ${(Resource as unknown as Record).SUPPORT_API_KEY.value}` const actual = Buffer.from(authorization ?? "")