From a8a5654e97721117f497b60dcda05e820929fd9d Mon Sep 17 00:00:00 2001 From: Natalie Date: Mon, 18 May 2026 01:19:51 -0700 Subject: [PATCH] =?UTF-8?q?fix(client):=20=F0=9F=90=9B=20change=20put=20to?= =?UTF-8?q?=20post=20for=20attachment=20upload=20endpoint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- src/server/src/surfaces/client/imessage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/src/surfaces/client/imessage.ts b/src/server/src/surfaces/client/imessage.ts index d40f7f1..e0791d0 100644 --- a/src/server/src/surfaces/client/imessage.ts +++ b/src/server/src/surfaces/client/imessage.ts @@ -197,7 +197,7 @@ export const imessageClientRouter = new Hono() const items = await listMissingAttachments(getDb(), deviceId, limit); return c.json({ success: true, data: { items, total: items.length } }); }) - .put('/attachments/:id/blob', async (c) => { + .post('/attachments/:id/blob', async (c) => { const deviceId = c.get('deviceId'); const id = c.req.param('id'); const ua = c.req.header('user-agent') ?? '';