Update code in endpoints/api/v1/endpoint.post.py

This commit is contained in:
Backend IM Bot 2025-03-19 16:30:31 +00:00
parent f3a01a2c0b
commit b35ad0e188

View File

@ -4,13 +4,13 @@ from core.database import fake_users_db
router = APIRouter() router = APIRouter()
@router.post("/api/v1/endpoint") @router.post("/api/v1/endpoint")
async def captain_marv_endpoint(): async def marv_endpoint():
"""Return Captain Marv appreciation message""" """Endpoint that returns Marv's status"""
return { return {
"message": "Success", "message": "Success",
"text": "captain marv is literally the best", "data": "Marv is OP",
"metadata": { "metadata": {
"source": "appreciation_service", "source": "marv_status",
"timestamp": "now" "timestamp": "now"
} }
} }