Remove - Upload - Update

Hello all, I have a question regarding the correct flow to follow when doing these steps, the goal is this, a user can only have a profile picture, so first we check if that profile has a picture if it does delete it and then we upload the new one, then I try to fetch the new one that has been upload it, right now however this is not working as expected as I don't get the correct updatedDate url, perhaps I am missing something? after these steps are completed i use prisma to update the db and then do a refecth
1 Reply
Enyel
EnyelOP2y ago
Any help on this?
Want results from more Discord servers?
Add your server