diff --git a/src/storage/adapters/gcsStorage.ts b/src/storage/adapters/gcsStorage.ts index 8a107e7c..51b6a4ae 100644 --- a/src/storage/adapters/gcsStorage.ts +++ b/src/storage/adapters/gcsStorage.ts @@ -1019,6 +1019,8 @@ export class GcsStorage extends BaseStorage { hasMore: boolean nextCursor?: string }> { + await this.ensureInitialized() // CRITICAL: Must initialize before using this.bucket + const limit = options.limit || 100 const useCache = options.useCache !== false