diff --git a/src/MeoAssistant/AutoRecruitTask.cpp b/src/MeoAssistant/AutoRecruitTask.cpp index 64c4507b47..8b88a9418b 100644 --- a/src/MeoAssistant/AutoRecruitTask.cpp +++ b/src/MeoAssistant/AutoRecruitTask.cpp @@ -722,7 +722,7 @@ void asst::AutoRecruitTask::upload_to_penguin(const json::value& details) Log.info("response:\n", response); cb_info["details"]["response"] = response; - static const std::regex http_ok_regex(R"(HTTP/.+ 200 OK)"); + static const std::regex http_ok_regex(R"(HTTP/.+ 200)"); if (std::regex_search(response, http_ok_regex)) { callback(AsstMsg::SubTaskCompleted, cb_info); } @@ -774,7 +774,7 @@ void asst::AutoRecruitTask::upload_to_yituliu(const json::value& details) cb_info["details"]["response"] = response; - static const std::regex http_ok_regex(R"(HTTP/.+ 200 OK)"); + static const std::regex http_ok_regex(R"(HTTP/.+ 200)"); if (std::regex_search(response, http_ok_regex)) { callback(AsstMsg::SubTaskCompleted, cb_info); } diff --git a/src/MeoAssistant/StageDropsTaskPlugin.cpp b/src/MeoAssistant/StageDropsTaskPlugin.cpp index 5dee9cdf01..c38d4983cf 100644 --- a/src/MeoAssistant/StageDropsTaskPlugin.cpp +++ b/src/MeoAssistant/StageDropsTaskPlugin.cpp @@ -266,7 +266,7 @@ void asst::StageDropsTaskPlugin::upload_to_penguin() Log.info("response:\n", response); cb_info["details"]["response"] = response; - static const std::regex http_ok_regex(R"(HTTP/.+ 200 OK)"); + static const std::regex http_ok_regex(R"(HTTP/.+ 200)"); if (std::regex_search(response, http_ok_regex)) { callback(AsstMsg::SubTaskCompleted, cb_info); }