feat: Fix nutrition service and add location-based alerts
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Changes: - Fix nutrition service: add is_active column and Pydantic validation for UUID/datetime - Add location-based alerts feature: users can now see alerts within 1km radius - Fix CORS and response serialization in nutrition service - Add getCurrentLocation() and loadAlertsNearby() functions - Improve UI for nearby alerts display with distance and response count
This commit is contained in:
@@ -418,6 +418,11 @@ async def delete_user_location(
|
||||
|
||||
return {"message": "Location deleted successfully"}
|
||||
|
||||
@app.get("/health")
|
||||
async def health_simple():
|
||||
"""Health check endpoint (simple)"""
|
||||
return {"status": "healthy", "service": "location_service"}
|
||||
|
||||
|
||||
@app.get("/api/v1/health")
|
||||
async def health_check():
|
||||
|
||||
Reference in New Issue
Block a user