Update code in endpoints/people.get.py
This commit is contained in:
parent
3c57907eea
commit
13bd92d68d
@ -5,7 +5,7 @@ router = APIRouter()
|
||||
|
||||
@router.get("/people")
|
||||
async def people_handler():
|
||||
"""Get list of people"""
|
||||
"""Fetch list of people"""
|
||||
people = list(fake_users_db.values())
|
||||
return {
|
||||
"message": "People fetched successfully",
|
||||
|
Loading…
x
Reference in New Issue
Block a user