Update code in endpoints/api/v1/endpoint.post.py
This commit is contained in:
parent
db2e5bf810
commit
b8b4a5aa88
@ -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"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user