Skip to content

Commit

Permalink
chore: Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteKiwi committed Feb 28, 2023
1 parent 85ad7df commit 182627a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ $ pnpm add the-camp
import { TheCampClient } from 'the-camp';

async function main() {
const theCampClient = new TheCampClient();

await theCampClient.login({
id: '[email protected]',
password: 'password',
const theCampClient = new TheCampClient({
id: process.env.ID!,
password: process.env.PASSWORD!,
});

const { soldierId } = await theCampClient.registerSoldier({
Expand Down

0 comments on commit 182627a

Please sign in to comment.