mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 18:40:56 +01:00
Set community_note to null when not used
This commit is contained in:
parent
2062109692
commit
d25619470e
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,8 @@ export const buildAPITwitterStatus = async (
|
|||
text: unescapeText(status.birdwatch_pivot?.subtitle?.text ?? ''),
|
||||
entities: status.birdwatch_pivot.subtitle?.entities ?? []
|
||||
};
|
||||
} else {
|
||||
apiStatus.community_note = null;
|
||||
}
|
||||
|
||||
if (status.legacy.lang !== 'unk') {
|
||||
|
|
Loading…
Add table
Reference in a new issue