diff --git a/server/src/bindings/ConnectionInfo.cpp b/server/src/bindings/ConnectionInfo.cpp index 9fdc98d5..4aed7ff3 100644 --- a/server/src/bindings/ConnectionInfo.cpp +++ b/server/src/bindings/ConnectionInfo.cpp @@ -37,7 +37,7 @@ static void HwId3Getter(v8::Local, const v8::PropertyCallbackInfoGetHwId3()); + V8_RETURN_STRING(con->GetHwid3()); } static void AuthTokenGetter(v8::Local, const v8::PropertyCallbackInfo& info) diff --git a/server/src/bindings/Player.cpp b/server/src/bindings/Player.cpp index b05217df..063527a1 100644 --- a/server/src/bindings/Player.cpp +++ b/server/src/bindings/Player.cpp @@ -222,7 +222,7 @@ static void HwId3Getter(v8::Local name, const v8::PropertyCallbackIn { V8_GET_ISOLATE(); V8_GET_THIS_BASE_OBJECT(_this, IPlayer); - V8_RETURN_STRING(_this->GetHwId3()); + V8_RETURN_STRING(_this->GetHwid3()); } static void SetClothes(const v8::FunctionCallbackInfo& info)