mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修改错误代码
This commit is contained in:
parent
c97678af0a
commit
77ba24b59c
@ -1193,7 +1193,7 @@ void installWebApi() {
|
||||
auto session_ptr = session->shared_from_this();
|
||||
Broadcast::AuthInvoker authInvoker = [invoker, offer_sdp, val, info, headerOut, session_ptr](const string &err) mutable {
|
||||
if (!err.empty()) {
|
||||
val["code"] = API::Exception;
|
||||
val["code"] = API::AuthFailed;
|
||||
val["msg"] = err;
|
||||
invoker(200, headerOut, val.toStyledString());
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user