Skip to content

Commit 778f724

Browse files
committed
fix deep rapid
1 parent 7c9b418 commit 778f724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/translate/providers/deep-rapid-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ export class DeepRapidAPI extends Translate {
3333
},
3434
DeepRapidAPI.axiosConfig,
3535
);
36-
return decode((response as DeepTranslateResponse).data.data.translations.translatedText);
36+
return decode((response as DeepTranslateResponse).data.data.translations.translatedText[0]);
3737
};
3838
}

0 commit comments

Comments
 (0)