Commit ae8374fc authored by Daniel Kolibár's avatar Daniel Kolibár
Browse files

photos

parent f11b0e45
......@@ -143,7 +143,7 @@ async def get_all_bird_houses_inside_mapbounds(leftTop_long: float, leftTop_lat:
return houses
@app.get("/photo/getlast", response_model=Photo)
@app.get("/photos/getlast", response_model=Photo)
async def get_last_photo_of_specific_bird_house(houseId: str):
if not ObjectId.is_valid(houseId):
return JSONResponse({})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment