From 28899f63d78e0d5ecd3f7f43892f73d6b1777183 Mon Sep 17 00:00:00 2001 From: Srinath Narayanan Date: Tue, 24 Nov 2020 10:32:18 -0800 Subject: [PATCH] Fixed bug in fetching 'index transformation progress' header (#330) * bug fix * fixed formatting errors --- src/Common/dataAccess/getIndexTransformationProgress.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/dataAccess/getIndexTransformationProgress.ts b/src/Common/dataAccess/getIndexTransformationProgress.ts index 94dcf9fde..fa0298fbc 100644 --- a/src/Common/dataAccess/getIndexTransformationProgress.ts +++ b/src/Common/dataAccess/getIndexTransformationProgress.ts @@ -14,7 +14,7 @@ export async function getIndexTransformationProgress(databaseId: string, collect const response = await client() .database(databaseId) .container(collectionId) - .read(); + .read({ populateQuotaInfo: true }); indexTransformationPercentage = parseInt( response.headers[Constants.HttpHeaders.collectionIndexTransformationProgress] as string