Skip to content

Commit

Permalink
fix binding (#754)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajzbc committed Jan 17, 2024
1 parent bee57ff commit 991d1ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/content/storage/d1.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ database_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

```js
const mf = new Miniflare({
d1Databases: ["DB"],
d1Databases: {
DB: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
},
});
```

Expand Down

0 comments on commit 991d1ef

Please sign in to comment.