fix(client): 🐛 change put to post for attachment upload endpoint
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
b2882a0751
commit
a8a5654e97
1 changed files with 1 additions and 1 deletions
|
|
@ -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') ?? '';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue