mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-25 22:01:12 +00:00
docs: Fix incorrect code sample in README (#109)
This commit is contained in:
parent
72b3877693
commit
1e6ddc3587
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