Skip to content
Discussion options

You must be logged in to vote

That's because you are passing just the collection without the converter to addDoc(). You need to pass it there too:

addDoc(collection(db, 'entries').withConverter(...), newDoc)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mrleblanc101
Comment options

Answer selected by mrleblanc101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants