Fix typo. (#143)

This commit is contained in:
ryan961 2024-09-19 09:33:11 +08:00 committed by GitHub
parent 74cf2b9845
commit 1bef182a15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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