diff --git a/functions/src/types/vote.ts b/functions/src/types/vote.ts index d4a12f6..68b4de8 100644 --- a/functions/src/types/vote.ts +++ b/functions/src/types/vote.ts @@ -47,7 +47,10 @@ export const updateVoteEntry = async ( username: string, voteIndex: number ) => - vote.ref.collection(entriesCollectionName).doc(username).set({[voteIndexField]: voteIndex}); + vote.ref + .collection(entriesCollectionName) + .doc(username) + .set({[voteIndexField]: voteIndex}); export const makeVoteEntry = async ( vote: DocumentReference, username: string,