mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-07 11:30:53 +01:00
part 3
This commit is contained in:
parent
2652861cd7
commit
ff541982b1
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ const populateTweetProperties = async (
|
|||
conversation.guestToken || '',
|
||||
language
|
||||
);
|
||||
if (translateAPI !== null) {
|
||||
if (translateAPI !== null && translateAPI?.translation) {
|
||||
apiTweet.translation = {
|
||||
text: translateAPI?.translation || '',
|
||||
source_lang: translateAPI?.sourceLanguage || '',
|
||||
|
|
Loading…
Add table
Reference in a new issue