Fixed bug in fetching 'index transformation progress' header (#330)
* bug fix * fixed formatting errors
This commit is contained in:
parent
9cbf632577
commit
28899f63d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue