From d08cfd45dc08adc61e668f9e57f631354d5ecaa8 Mon Sep 17 00:00:00 2001 From: Miodec Date: Sat, 6 Feb 2021 21:26:45 +0000 Subject: [PATCH] fixed pb results giving users errors --- functions/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/index.js b/functions/index.js index 27b6fc8bb..c55c239f7 100644 --- a/functions/index.js +++ b/functions/index.js @@ -1468,7 +1468,7 @@ exports.testCompleted = functions.https.onRequest(async (request, response) => { let dailylb = values[1].insertedAt; let ispb = values[2]; let tagPbs = values[3]; - let createdDocId = stripAndSave(request.uid, request.obj); + let createdDocId = await stripAndSave(request.uid, request.obj); createdDocId = createdDocId.id; // console.log(values);