Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Make KVNamespace list options optional #10

Merged
merged 1 commit into from
Jun 10, 2020
Merged

Make KVNamespace list options optional #10

merged 1 commit into from
Jun 10, 2020

Conversation

motiejunas
Copy link
Contributor

Currently defined KVNamespace interface asks to explicitly provide an empty options object when listing all the keys in a namespace, like so:
await NAMESPACE.list({})

However, in KVNamespace example usage it is shown that options object could be omitted:
await NAMESPACE.list()
https://developers.cloudflare.com/workers/reference/storage/listing-keys/

@1000hz 1000hz added the bug Something isn't working label Jun 10, 2020
@1000hz 1000hz added this to the Release 2.0.0 milestone Jun 10, 2020
@1000hz 1000hz merged commit 45a0939 into cloudflare:master Jun 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants