Skip to content
Snippets Groups Projects
Commit f1cb7658 authored by Xiao Gui's avatar Xiao Gui
Browse files

fix: post saneurl endpoint

parent 67fd6629
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ class SaneUrlModel(BaseModel):
hashPath: str # camel case for backwards compat
@router.post("/{short_id: str}")
@router.post("/{short_id:str}")
async def post_short(short_id: str, saneurl: SaneUrlModel):
try:
data_proxy_store.set(short_id, saneurl.model_dump_json())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment