mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 10:30:55 +01:00
Fixed bug where en would get translated to en
This commit is contained in:
parent
6cef702845
commit
8dc2c433e4
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ const processMedia = (media: TweetMedia): APIPhoto | APIVideo | null => {
|
|||
const populateTweetProperties = async (
|
||||
tweet: TweetPartial,
|
||||
conversation: TimelineBlobPartial,
|
||||
language: string = 'en'
|
||||
language: string
|
||||
): Promise<APITweet> => {
|
||||
let apiTweet = {} as APITweet;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ name = "fixtweet"
|
|||
account_id = "[CLOUDFLARE_ACCOUNT_ID]"
|
||||
workers_dev = true
|
||||
main = "./dist/worker.js"
|
||||
compatibility_date = "2022-07-13"
|
||||
compatibility_date = "2022-07-25"
|
||||
send_metrics = false
|
||||
|
||||
[build]
|
||||
|
|
Loading…
Add table
Reference in a new issue