Compare commits

...

2 Commits

Author SHA1 Message Date
Vincent Young
ac8ec23790
Update translate.go 2024-10-03 16:07:38 -04:00
Vincent Young
9e8c68fc94
Revert "Fix typo. (#143)" (#146)
This reverts commit 1bef182a15.
2024-10-03 16:05:53 -04:00

View File

@ -138,7 +138,7 @@ func TranslateByDeepLX(sourceLang string, targetLang string, translateText strin
if err != nil {
return DeepLXTranslationResult{
Code: http.StatusServiceUnavailable,
Message: "Unkown error",
Message: "Unknown error",
}, nil
}
transport := &http.Transport{