Fix compilation error issues

This commit is contained in:
ljx0305 2024-03-25 19:03:44 +08:00 committed by GitHub
parent 5428ba1d31
commit 78924ad8e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1918,7 +1918,7 @@ void installWebApi() {
api_regist("/index/api/stack/start", [](API_ARGS_JSON_ASYNC) {
CHECK_SECRET();
auto ret = VideoStackManager::Instance().startVideoStack(allArgs.getArgs());
auto ret = VideoStackManager::Instance().startVideoStack(allArgs.args());
val["code"] = ret;
val["msg"] = ret ? "failed" : "success";
invoker(200, headerOut, val.toStyledString());