fix: adding description not working on media
This commit is contained in:
parent
b070e85566
commit
324cc5509e
3 changed files with 8 additions and 4 deletions
|
|
@ -377,7 +377,7 @@ export class ApiStatusMastodon {
|
|||
const data = await client.updateMedia(convertId(_request.params.id, IdType.SharkeyId), _request.body as any);
|
||||
reply.send(convertAttachment(data.data));
|
||||
} catch (e: any) {
|
||||
console.error(e);
|
||||
/* console.error(e); */
|
||||
reply.code(401).send(e.response.data);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue