diff --git a/lib/remote/apilistener.cpp b/lib/remote/apilistener.cpp index 8c0abf570..ac11cb95e 100644 --- a/lib/remote/apilistener.cpp +++ b/lib/remote/apilistener.cpp @@ -1484,7 +1484,7 @@ void ApiListener::UpdateStatusFile(TcpSocket::Ptr socket) Utility::SaveJsonFile(path, 0644, new Dictionary({ {"host", details.first}, - {"port", details.second} + {"port", Convert::ToLong(details.second)} })); }