Closed marvinjuette closed 4 years ago
Describe the bug The new backend version doesn't return periods and logo_url
To Reproduce
Request Endpoint: /market/scrape
/market/scrape
Request Method: Post
Post
Request Body:
{"latitude":"12.34234","longitude":"24.161402943487","radius":2000}
Expected behavior everythin including periods and logo_url
Actual behavior Returns everything but periods and logo_url
{ "result": "success", "supermarket": [ { "market_id": 123, "market_name": "Supermarkt", "city": "Musterstadt", "zip": "12345", "street": "Musterstraße 23", "longitude": "12.34234", "latitude": "34.830396", "distance": "24.161402943487", "maps_id": "ChIJAQAAAFCHuEcRqsjerc4eqJ4", "icon_url": null, "periods": null, "products": [ { "product_id": 3, "product_name": "Brot", "availability": 100, "emoji": "🍞" } ] } [ }
Response is shorted to one store.
Backend Version New!
The issue with periods was fixed. Will be available for the new DB with the next deployment
Describe the bug The new backend version doesn't return periods and logo_url
To Reproduce
Request Endpoint:
/market/scrape
Request Method:
Post
Request Body:
Expected behavior everythin including periods and logo_url
Actual behavior Returns everything but periods and logo_url
Response is shorted to one store.
Backend Version New!