[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;
|
||||
text: string;
|
||||
spoiler_text: string;
|
||||
content_type: string;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -220,7 +220,8 @@ export class NoteHelpers {
|
|||
return {
|
||||
id: note.id,
|
||||
text: note.text ?? '',
|
||||
spoiler_text: note.cw ?? ''
|
||||
spoiler_text: note.cw ?? '',
|
||||
content_type: 'text/x.misskeymarkdown'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue