From f12e13ed282ece29d678511a8e7f07bc0deea3e1 Mon Sep 17 00:00:00 2001 From: Syping Date: Sun, 29 Mar 2026 03:45:57 +0200 Subject: [PATCH] [skip ci] deepl: remove unused http_headers --- src/translator/deepl/deepl.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/translator/deepl/deepl.cpp b/src/translator/deepl/deepl.cpp index a6afb94..ab509af 100644 --- a/src/translator/deepl/deepl.cpp +++ b/src/translator/deepl/deepl.cpp @@ -82,11 +82,6 @@ const std::vector deepl::get_languages() const std::string deepl::translate(const std::string &text, const std::string &source, const std::string &target) { - const dpp::http_headers http_headers = { - {"Authorization", "DeepL-Auth-Key " + m_apiKey}, - {"Content-Type", "application/json"} - }; - dpp::json json_body = { {"text", { text } }, {"target_lang", target}