docs: Fix incorrect code sample in README (#109)

This commit is contained in:
SleeplessOne1917 2023-03-17 11:33:57 -04:00 committed by Dessalines
parent c13af053f0
commit 077c9782b1

View file

@ -43,7 +43,7 @@ import { LemmyHttp } from 'lemmy-js-client';
let baseUrl = 'https://lemmy.ml';
let client: LemmyHttp = new LemmyHttp(baseUrl, headers?);
let jwt = await client.httpLogin(loginForm).jwt;
let jwt = await client.login(loginForm).jwt;
```
## Development