Skip to content

Commit

Permalink
fix: remove unless parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
missuo committed Sep 16, 2024
1 parent 56755a1 commit dce5ccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions translate/translate.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: Vincent Young
* @Date: 2024-09-16 11:59:24
* @LastEditors: Vincent Young
* @LastEditTime: 2024-09-16 12:06:21
* @LastEditTime: 2024-09-16 12:09:37
* @FilePath: /DeepLX/translate/translate.go
* @Telegram: https://t.me/missuo
* @GitHub: https://github.com/missuo
Expand Down Expand Up @@ -59,7 +59,7 @@ func initDeepLXData(sourceLang string, targetLang string) *PostData {
}
}

func TranslateByDeepLX(sourceLang string, targetLang string, translateText string, tagHandling string, authKey string, proxyURL string) (DeepLXTranslationResult, error) {
func TranslateByDeepLX(sourceLang string, targetLang string, translateText string, tagHandling string, proxyURL string) (DeepLXTranslationResult, error) {
id := getRandomNumber()
if sourceLang == "" {
lang := whatlanggo.DetectLang(translateText)
Expand Down

0 comments on commit dce5ccd

Please sign in to comment.