You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Allow map vs button interactions in the homescreen and map center screen.
* Added Findme feature and updated map_center settings (Backend).
* Added Findme feature and updated map_center settings (Frontend).
* Adjustments to search click behavior and zoom level for results.
logger.info(`${type==='search' ? 'Search' : 'Sell'} Center saved successfully for user ${map_center_id} with Longitude: ${longitude}, Latitude: ${latitude} `);
22
22
23
-
if(type==='sell'){
24
-
constsellMapCenter={
25
-
type: 'Point',
26
-
coordinates: [longitude,latitude],
27
-
};
28
-
29
-
// Update the seller's sell_map_center
30
-
constupdatedSeller=awaitSeller.findOneAndUpdate(
31
-
{seller_id: map_center_id},
32
-
{$set: {sell_map_center: sellMapCenter}},
33
-
{new: true}
34
-
).exec();
35
-
36
-
if(updatedSeller){
37
-
logger.info(`Seller's sell_map_center updated for seller_id: ${map_center_id}`,{ updatedSeller });
38
-
}else{
39
-
logger.warn(`Seller not found for seller_id: ${map_center_id}. sell_map_center not updated.`);
40
-
returnres.status(404).json({message: 'Seller not found: Map Center failed to save'});
0 commit comments