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 = APIRouter()
|
||||||
|
|
||||||
@router.post("/api/v1/endpoint")
|
@router.post("/api/v1/endpoint")
|
||||||
async def marv_endpoint():
|
async def midas_endpoint():
|
||||||
"""Endpoint that returns Marv's status"""
|
"""Return Midas campaign message"""
|
||||||
return {
|
return {
|
||||||
"message": "Success",
|
"message": "Success",
|
||||||
"data": "Marv is OP",
|
"data": "Midas for President!!",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"source": "marv_status",
|
"source": "campaign_slogan",
|
||||||
"timestamp": "now"
|
"timestamp": "2024"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user