From 9fadcd275adebc4720bb47d9212c56f1e5dd47fe Mon Sep 17 00:00:00 2001 From: KkemChen <704361748@qq.com> Date: Tue, 18 Jun 2024 19:47:12 +0800 Subject: [PATCH] Update WebApi.cpp --- server/WebApi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/WebApi.cpp b/server/WebApi.cpp index e71e2a14..ebd00785 100755 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -1979,6 +1979,7 @@ void installWebApi() { api_regist("/index/api/stack/stop", [](API_ARGS_MAP_ASYNC) { CHECK_SECRET(); + CHECK_ARGS("id"); auto ret = VideoStackManager::Instance().stopVideoStack(allArgs["id"]); val["code"] = ret; val["msg"] = ret ? "failed" : "success";