reviewable-enterprise-tools 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extract_data.js +1 -1
- package/package.json +1 -1
package/extract_data.js
CHANGED
|
@@ -225,7 +225,7 @@ async function extractReviews() {
|
|
|
225
225
|
const archive = await db.child('archivedReviews/:reviewKey', {reviewKey}).get();
|
|
226
226
|
if (archive) {
|
|
227
227
|
review = JSON.parse(zlib.gunzipSync(Buffer.from(archive.payload, 'base64')).toString());
|
|
228
|
-
const placeholdersPresent = stripReview(review);
|
|
228
|
+
const placeholdersPresent = await stripReview(review);
|
|
229
229
|
if (identityUserMap) mapAllUserKeys(review);
|
|
230
230
|
archive.payload =
|
|
231
231
|
zlib.gzipSync(JSON.stringify(review), {level: zlib.constants.Z_BEST_COMPRESSION})
|