fix invalid reference to this

This commit is contained in:
sawka 2023-02-22 16:15:02 -08:00
parent 654ff3b0b8
commit 6c116e54b0

View File

@ -2730,7 +2730,7 @@ function getPtyData(sessionId : string, cmdId : string) {
}
function getRemotePtyData(remoteId : string) {
let url = sprintf(GlobalModel.getBaseHostPort() + "/api/remote-pty?remoteid=%s", this.getContextRemoteId());
let url = sprintf(GlobalModel.getBaseHostPort() + "/api/remote-pty?remoteid=%s", remoteId);
return _getPtyDataFromUrl(url);
}