Skip to content

Commit

Permalink
Fix spelling error in txnId for redactions
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed May 13, 2019
1 parent 6a5f5b2 commit 09438b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base-apis.js
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ MatrixBaseApis.prototype.redactEvent = function(
callback = txnId;
}

const path = utils.encodeUri("/rooms/$roomId/redact/$eventId/$tnxId", {
const path = utils.encodeUri("/rooms/$roomId/redact/$eventId/$txnId", {
$roomId: roomId,
$eventId: eventId,
$txnId: txnId ? txnId : this.makeTxnId(),
Expand Down

0 comments on commit 09438b4

Please sign in to comment.