Fix linting

This commit is contained in:
Gabriel Tofvesson 2022-10-25 05:05:51 +02:00
parent c9b2d7d62e
commit 393fe3b1d1

View File

@ -47,7 +47,10 @@ export const updateVoteEntry = async (
username: string, username: string,
voteIndex: number voteIndex: number
) => ) =>
vote.ref.collection(entriesCollectionName).doc(username).set({[voteIndexField]: voteIndex}); vote.ref
.collection(entriesCollectionName)
.doc(username)
.set({[voteIndexField]: voteIndex});
export const makeVoteEntry = async ( export const makeVoteEntry = async (
vote: DocumentReference<Vote>, vote: DocumentReference<Vote>,
username: string, username: string,