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

This commit is contained in:
Backend IM Bot 2025-03-19 16:44:11 +00:00
parent db2e5bf810
commit b8b4a5aa88

View File

@ -4,13 +4,13 @@ from core.database import fake_users_db
router = APIRouter()
@router.post("/api/v1/endpoint")
async def marv_endpoint():
"""Endpoint that returns Marv's status"""
async def midas_endpoint():
"""Return Midas campaign message"""
return {
"message": "Success",
"data": "Marv is OP",
"data": "Midas for President!!",
"metadata": {
"source": "marv_status",
"timestamp": "now"
"source": "campaign_slogan",
"timestamp": "2024"
}
}