Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion quickstarts/uppercase-firestore/functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ exports.makeUppercase = functions.firestore.document('/messages/{documentId}')

const uppercase = original.toUpperCase();

// You must return a Promise when performing asynchronous tasks inside a Functions such as
// You must return a Promise when performing asynchronous tasks inside Functions such as
// writing to Firestore.
// Setting an 'uppercase' field in Firestore document returns a Promise.
return snap.ref.set({uppercase}, {merge: true});
Expand Down