mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-10 19:58:00 +01:00
fix invalid reference to this
This commit is contained in:
parent
654ff3b0b8
commit
6c116e54b0
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user