修好addStreamProxy接口获取参数失败的问题

This commit is contained in:
xiongziliang 2022-03-12 15:23:45 +08:00
parent d239ada9ac
commit 76372cd34b

View File

@ -488,7 +488,7 @@ void addStreamProxy(const string &vhost, const string &app, const string &stream
template <typename Type>
static void getArgsValue(const HttpAllArgs<ApiArgsType> &allArgs, const string &key, Type &value) {
auto val = allArgs["key"];
auto val = allArgs[key];
if (!val.empty()) {
value = (Type)val;
}