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

This commit is contained in:
SleeplessOne1917 2023-03-17 11:33:57 -04:00 committed by GitHub
parent 72b3877693
commit 1e6ddc3587
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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