data.location not working ?? #5110
-
Hi everyone, I'm using MEAN stack to build a chatapp and the user needs to upload a profile image at some point so i decided to use s3 to store the images and get the image URLs stores in my mongodb database so they are displayed in the fronted from the database. I I'm able to successfully upload and image to the bucket and see it in my dashboard but it doesn't update in my database, so when debugging I found out the response from the s3.send(command) doesn't have the location property, so I'm wondering how i could get the uploaded image url. Please help me !!
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Already answered here. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Already answered here.