Skip to content

Commit f7358e1

Browse files
committed
fix: remove unnecessary order parameter from Google translate options
1 parent 8f71f3a commit f7358e1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/components/dictionaries/google/engine.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ export const search: SearchFunction<
4444
const result = await translator.translate(text, sl, tl, {
4545
token: process.env.GOOGLE_TOKEN || '',
4646
concurrent: options.concurrent,
47-
apiAsFallback: true,
48-
order: ['cn', 'com']
47+
apiAsFallback: true
4948
})
5049
return machineResult(
5150
{

0 commit comments

Comments
 (0)