Can anyone help me out. I have setup an s3 image upload which works. Next I am trying to update the imageURL field with the last Amazon upload url . My query is in the pic below.
Connecting to a mongodb doing a UpdateOne where it grabs the id of the selected row. Then uploads to Amazon, then it is suppose to update the field and overwrite existing image url if one.
Query
{ _id: {{ attorneyTable.selectedRow.data._id }} }
Update
{"$set":{imageURL : "{{s3uploader1.lastUploadedFileUrl}}"}}