Fixed compile errors due to the renaming of some variables done by my editor.

BTW: Yes! Over 1000 commits
canary
WolverinDEV 2020-07-24 00:43:52 +02:00
parent 7a6bf5914d
commit b0602b7f0e
2 changed files with 5 additions and 5 deletions

View File

@ -192,7 +192,7 @@ export abstract class BasicIPCHandler {
resolve();
};
this.sendMessage("certificate-accept-callback", {
currentRequestId: data[1]
request_id: data[1]
} as CertificateAcceptCallback, data[0]);
})
}

View File

@ -86,7 +86,7 @@ export class ConnectHandler {
const response = {
accepted: this.callback_available(data.data),
currentRequestId: data.request_id
request_id: data.request_id
} as ConnectOfferAnswer;
if(response.accepted) {
@ -135,7 +135,7 @@ export class ConnectHandler {
log.debug(LogCategory.IPC, tr("Executing connect with client %s"), request.remote_handler);
this.ipc_channel.sendMessage("execute", {
currentRequestId: request.id
request_id: request.id
} as ConnectExecute, request.remote_handler);
request.timeout = setTimeout(() => {
request.callback_failed("connect execute timeout");
@ -185,7 +185,7 @@ export class ConnectHandler {
const cr = this.callback_execute(request.data);
const response = {
currentRequestId: data.request_id,
request_id: data.request_id,
succeeded: typeof(cr) !== "string" && cr,
message: typeof(cr) === "string" ? cr : "",
@ -219,7 +219,7 @@ export class ConnectHandler {
this._pending_connects_requests.push(pd);
this.ipc_channel.sendMessage("offer", {
currentRequestId: pd.id,
request_id: pd.id,
data: pd.data
} as ConnectOffer);
pd.timeout = setTimeout(() => {