mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-07 19:40:54 +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 || '',
|
conversation.guestToken || '',
|
||||||
language
|
language
|
||||||
);
|
);
|
||||||
if (translateAPI !== null) {
|
if (translateAPI !== null && translateAPI?.translation) {
|
||||||
apiTweet.translation = {
|
apiTweet.translation = {
|
||||||
text: translateAPI?.translation || '',
|
text: translateAPI?.translation || '',
|
||||||
source_lang: translateAPI?.sourceLanguage || '',
|
source_lang: translateAPI?.sourceLanguage || '',
|
||||||
|
|
Loading…
Add table
Reference in a new issue