Update code in endpoints/api/users.post.py
This commit is contained in:
parent
516bdd739f
commit
d97caffd4b
@ -4,7 +4,7 @@ from core.database import fake_users_db
|
|||||||
router = APIRouter()
|
router = APIRouter()
|
||||||
|
|
||||||
@router.post("/api/users")
|
@router.post("/api/users")
|
||||||
async def get_users_handler():
|
async def users_handler():
|
||||||
"""Fetch all users from database"""
|
"""Fetch all users from database"""
|
||||||
users = [
|
users = [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user