Skip to content

Commit 45780d4

Browse files
committed
fix: change default limits for listing objects to 100
this mirrors the default limit in the backend
1 parent 8cfe54b commit 45780d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/storage/StorageFileApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { get, post, remove } from './fetch'
22
import { isBrowser } from './helpers'
3-
import { FileObject, FileOptions, Metadata, SearchOptions } from './types'
3+
import { FileObject, FileOptions, SearchOptions } from './types'
44

55
const DEFAULT_SEARCH_OPTIONS = {
6-
limit: 0,
6+
limit: 100,
77
offset: 0,
88
sortBy: {
99
column: 'name',

0 commit comments

Comments
 (0)