mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 01:41:31 +00:00
Fixed bug in fetching 'index transformation progress' header (#330)
* bug fix * fixed formatting errors
This commit is contained in:
committed by
GitHub
parent
9cbf632577
commit
28899f63d7
@@ -14,7 +14,7 @@ export async function getIndexTransformationProgress(databaseId: string, collect
|
|||||||
const response = await client()
|
const response = await client()
|
||||||
.database(databaseId)
|
.database(databaseId)
|
||||||
.container(collectionId)
|
.container(collectionId)
|
||||||
.read();
|
.read({ populateQuotaInfo: true });
|
||||||
|
|
||||||
indexTransformationPercentage = parseInt(
|
indexTransformationPercentage = parseInt(
|
||||||
response.headers[Constants.HttpHeaders.collectionIndexTransformationProgress] as string
|
response.headers[Constants.HttpHeaders.collectionIndexTransformationProgress] as string
|
||||||
|
|||||||
Reference in New Issue
Block a user