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') ?? '';