andrewevans0102/how-to-build-a-firebase-api

Can't deploy - Each then() should return a value or throw

thibaudlef opened this issue · 1 comments

Hello,

I get an error only while trying to deploy, can I get a little help ?
55:17 error Each then() should return a value or throw promise/always-return

Line 55 is the "for" line on '/api/read' function.

Thank you a lot for your help and your amazing tutorial !

Very sorry, I didn't saw that you updated the code in the repo.
This is working well thanks again !