revert: recent change until better implementation later
This commit is contained in:
parent
f39586b4c2
commit
ab19a7ccd2
1 changed files with 0 additions and 1 deletions
|
@ -28,7 +28,6 @@ export class ApiStatusMastodon {
|
||||||
const client = getClient(BASE_URL, accessTokens);
|
const client = getClient(BASE_URL, accessTokens);
|
||||||
try {
|
try {
|
||||||
const data = await client.getStatus(convertId(_request.params.id, IdType.SharkeyId));
|
const data = await client.getStatus(convertId(_request.params.id, IdType.SharkeyId));
|
||||||
data.data.content = this.mfmservice.toHtml(mfm.parse(data.data.content)) || data.data.content;
|
|
||||||
reply.send(convertStatus(data.data));
|
reply.send(convertStatus(data.data));
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
|
Loading…
Reference in a new issue