Skip to content

Commit

Permalink
Fix dated example (#3049)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Jan 11, 2023
1 parent 3e48c76 commit 3ce582d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if you do not have it already.

```javascript
import * as sdk from "matrix-js-sdk";
const client = sdk.createClient("https://matrix.org");
const client = sdk.createClient({ baseUrl: "https://matrix.org" });
client.publicRooms(function (err, data) {
console.log("Public Rooms: %s", JSON.stringify(data));
});
Expand Down

0 comments on commit 3ce582d

Please sign in to comment.