Skip to content

Commit 887130e

Browse files
committed
fix example code
1 parent 0ae8644 commit 887130e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ yarn add @boilingdata/node-boilingdata
88
```
99

1010
```typescript
11-
import { BoilingData, isDataResponse } from "../boilingdata/boilingdata";
11+
import { BoilingData, isDataResponse } from "@boilingdata/node-boilingdata";
1212

1313
async function main() {
14-
const bdInstance = new BoilingData({ process.env["BD_USERNAME"], process.env["BD_PASSWORD"] });
14+
const bdInstance = new BoilingData({ username: process.env["BD_USERNAME"], password: process.env["BD_PASSWORD"] });
1515
await bdInstance.connect();
1616
const rows = await new Promise<any[]>((resolve, reject) => {
1717
let r: any[] = [];

0 commit comments

Comments
 (0)