Skip to content

Commit c0947df

Browse files
authored
Update matrixClient.http.authedRequest calls
With matrix-org/matrix-js-sdk#2719 the signature of `authedRequest` has changed. They now do not expect a callback as the first parameter anymore. All other parameters have just moved up by one.
1 parent b2fbb8c commit c0947df

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

packages/matrix-crdt/src/reader/MatrixReader.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ export class MatrixReader extends lifecycle.Disposable {
144144
}
145145
try {
146146
this.pendingPollRequest = this.matrixClient.http.authedRequest(
147-
undefined as any,
148147
Method.Get,
149148
"/events",
150149
{

0 commit comments

Comments
 (0)