Rehachoudhary0 / hotel_testing

1 stars 1 forks source link

🐛 Bug Report: location_id attribute getting in a string instead of JSON in api/hotel/order/list Hotel API #254

Closed rvndsngwn closed 2 years ago

rvndsngwn commented 2 years ago

👟 Reproduction steps

In api/hotel/order/list API, location_id attribute format is Json but in response location id is getting in string.

👍 Expected behavior

"location_ip": {
          "log": "77.0989086",
          "lat": "28.6370394"
        },

👎 Actual Behavior

"location_ip": "{"log": "00.00000, 00.00000","lat": "00.00000, 00.00000"}",

🎲 App version

Version 22.10.01+01

💻 Operating system

Android

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?

parveen-malik commented 2 years ago

{ "success": true, "error": [], "message": "Hotel : Orio peace of beauty , foodOrders List ", "loggedIn": 1, "response": { "foodOrdersCount": 4, "foodOrdersList": [ { "food_order_id": 18, "hotel_id": 4, "customer_id": 15, "name": "The second", "type": "secondary", "primary_id": 9, "location_ip": "{\"log\": \"76.4648377\",\"lat\": \"29.146752\"}", "food_order_items": [
] }, { "food_order_id": 17, "hotel_id": 4, "customer_id": 15, "name": "The second", "location_ip": "{\"log\": \"76.4648377\",\"lat\": \"29.146752\"}", "food_order_items": [ ] }, { "food_order_id": 16, "hotel_id": 4, "customer_id": 8, "name": "Virgil funky", "type": "primary", "primary_id": null, "location_ip": "{\"log\": \"00.00000, 00.00000\",\"lat\": \"00.00000, 00.00000\"}", "food_order_items": [ ] }, { "food_order_id": 15, "hotel_id": 4, "customer_id": 8, "name": "Virgil funky", "type": "primary", "location_ip": "{\"log\": \"00.00000, 00.00000\",\"lat\": \"00.00000, 00.00000\"}", "food_order_items": [ ] } ] } }

parveen-malik commented 2 years ago

sir ji iss response ko dekh kar mujhey suggest karey ..........mujhey yeh issue google place api kaa lagg rhaa

parveen-malik commented 2 years ago

solved.............