Closed michael-strain closed 12 months ago
This isn't a real reproduction, will my example below work instead? https://stackoverflow.com/questions/75968536/how-do-i-access-a-firestore-collection-in-a-nuxt-3-server-route-utilizing-vuefi
// 'server/api/example.post.js' export default defineEventHandler(async(event) => { useFirestore().doc("collectionName/"+itemId).update({body}) })
Ideally, I'd be able to interact with firestore (or specifically, firestore-admin) from within my API endpoints.
UPDATE Looks like the latest update should have taken care of all my problems here. Thank you posva and any others that worked on this latest release!
Reproduction
This isn't a real reproduction, will my example below work instead? https://stackoverflow.com/questions/75968536/how-do-i-access-a-firestore-collection-in-a-nuxt-3-server-route-utilizing-vuefi
Steps to reproduce the bug
Expected behavior
Ideally, I'd be able to interact with firestore (or specifically, firestore-admin) from within my API endpoints.
UPDATE Looks like the latest update should have taken care of all my problems here. Thank you posva and any others that worked on this latest release!