mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-22 20:31:12 +00:00
docs: Fix incorrect code sample in README (#109)
This commit is contained in:
parent
c13af053f0
commit
077c9782b1
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ import { LemmyHttp } from 'lemmy-js-client';
|
||||||
|
|
||||||
let baseUrl = 'https://lemmy.ml';
|
let baseUrl = 'https://lemmy.ml';
|
||||||
let client: LemmyHttp = new LemmyHttp(baseUrl, headers?);
|
let client: LemmyHttp = new LemmyHttp(baseUrl, headers?);
|
||||||
let jwt = await client.httpLogin(loginForm).jwt;
|
let jwt = await client.login(loginForm).jwt;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
Loading…
Reference in a new issue