From b1b087a26f7d0d2a7c68be3ff9377f60d7094ba6 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 11 Dec 2022 12:00:05 -0500 Subject: [PATCH] Add class instantiation in readme. (#95) --- .drone.yml | 20 -------------------- README.md | 4 ++-- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1f0caa1..7c609fd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,23 +31,3 @@ steps: when: ref: - refs/tags/* - ---- -kind: pipeline -name: arm64 - -platform: - os: linux - arch: arm64 - -steps: - - - name: yarn - image: node:17-alpine - commands: - - yarn - - - name: yarn lint - image: node:17-alpine - commands: - - yarn lint diff --git a/README.md b/README.md index f8cb3f1..2774e66 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,10 @@ import { Login, LemmyWebsocket } from 'lemmy-js-client'; let client: LemmyWebsocket = new LemmyWebsocket(); -let form: Login { +let form = new Login({ username_or_email: "my_email@email.tld", password: "my_pass", -}; +}); this.ws.send(client.login(form)); ```