mirror of
https://github.com/OwO-Network/DeepLX.git
synced 2024-11-16 06:22:20 +08:00
parent
1bef182a15
commit
9e8c68fc94
|
@ -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: "Unkown error",
|
Message: "Uknown error",
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
transport := &http.Transport{
|
transport := &http.Transport{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user