mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 03:17:38 -07:00
[mastodon-client] Add content_type to /statuses/:id/source
This commit is contained in:
parent
bd366b0682
commit
092462d3a9
2 changed files with 3 additions and 1 deletions
|
@ -3,5 +3,6 @@ namespace MastodonEntity {
|
||||||
id: string;
|
id: string;
|
||||||
text: string;
|
text: string;
|
||||||
spoiler_text: string;
|
spoiler_text: string;
|
||||||
|
content_type: string;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -220,7 +220,8 @@ export class NoteHelpers {
|
||||||
return {
|
return {
|
||||||
id: note.id,
|
id: note.id,
|
||||||
text: note.text ?? '',
|
text: note.text ?? '',
|
||||||
spoiler_text: note.cw ?? ''
|
spoiler_text: note.cw ?? '',
|
||||||
|
content_type: 'text/x.misskeymarkdown'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue