Skip to content

Commit

Permalink
Actually apply the optionsGenerator...
Browse files Browse the repository at this point in the history
  • Loading branch information
GregBrimble committed May 9, 2020
1 parent aa29ae7 commit 2034d03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kv-orm/cf-workers",
"version": "2.0.0",
"version": "2.0.1",
"description": "A Cloudflare Workers KV datastore plugin for kv-orm",
"main": "dist/index",
"types": "dist/index",
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export class CloudflareWorkersKVDatastore extends Datastore {
}: { optionsGenerator?: OptionsGenerator; keySeparator?: string } = {}
) {
super({ keySeparator });
this.optionsGenerator = optionsGenerator;
}

_read(key: Key): Promise<Value> {
Expand Down

0 comments on commit 2034d03

Please # to comment.