Skip to content

Commit 4579313

Browse files
authored
Merge branch 'master' into transform-func
2 parents 2a719d4 + 6398195 commit 4579313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function flattenDocument(obj, prefix = "") {
133133
* @param {DocumentSnapshot} firestoreDocumentSnapshot
134134
* @param {Object} contextParams
135135
* @param {Array} fieldsToExtract
136-
* @return {Object} typesenseDocument
136+
* @return {Promise<Object>} typesenseDocument
137137
*/
138138
exports.typesenseDocumentFromSnapshot = async (firestoreDocumentSnapshot, contextParams = {}, fieldsToExtract = config.firestoreCollectionFields) => {
139139
const data = firestoreDocumentSnapshot.data();

0 commit comments

Comments
 (0)