From ada7a30eaaae9749eef080177671429cdded78b7 Mon Sep 17 00:00:00 2001 From: ehesp Date: Tue, 30 Jul 2019 12:52:27 +0100 Subject: [PATCH] - --- packages/storage/lib/StorageListResult.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/storage/lib/StorageListResult.js b/packages/storage/lib/StorageListResult.js index 7c951395..ab1c383d 100644 --- a/packages/storage/lib/StorageListResult.js +++ b/packages/storage/lib/StorageListResult.js @@ -26,7 +26,7 @@ export default class StorageListResult { constructor(storage, nativeData) { this._nextPageToken = nativeData.nextPageToken || null; this._items = nativeData.items.map(path => new StorageReference(storage, path)); - this._prefixes = nativeData.items.map(path => new StorageReference(storage, path)); + this._prefixes = nativeData.prefixes.map(path => new StorageReference(storage, path)); } get items() {