fix logging wrong value

This commit is contained in:
Bruno Windels 2021-06-02 12:34:14 +02:00
parent c3754fdbd4
commit bf951bd322

View file

@ -245,7 +245,7 @@ export class SendQueue {
relatedTxnId = pe.txnId; relatedTxnId = pe.txnId;
} }
} }
log.set("relatedTxnId", eventIdOrTxnId); log.set("relatedTxnId", relatedTxnId);
log.set("relatedEventId", relatedEventId); log.set("relatedEventId", relatedEventId);
await this._enqueueEvent(REDACTION_TYPE, {reason}, null, relatedTxnId, relatedEventId, log); await this._enqueueEvent(REDACTION_TYPE, {reason}, null, relatedTxnId, relatedEventId, log);
} }