mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
[mastodon-client] Add content_type to /statuses/:id/source
This commit is contained in:
parent
bd366b0682
commit
092462d3a9
@ -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 New Issue
Block a user