hidjou / classsed-react-firebase-functions

327 stars 180 forks source link

Updated UploadImage in User Functions. #14

Closed Nandolinhares closed 4 years ago

Nandolinhares commented 4 years ago

Now, when someone adds a new picture, the previous image is deleted from Firebase. However, I added a conditional that don't allow to delete the no-img.png. That's a important functionality to improve the system. Thank you my friend for the all knowledge that you share with us

hidjou commented 4 years ago

I appreciate your effort but in the real world you'd wanna fire this as process / cron in the background and not add the logic to the handler itself which will block the response to the client.

It's good thinking from you though 👍