Your Name 3 years ago
parent
commit
f90517e73a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      choozmo/urlshorten/main.py

+ 3 - 3
choozmo/urlshorten/main.py

@@ -39,9 +39,9 @@ class kw_req(BaseModel):
 
 @app.post("/urldata")
 async def get_domain_by_keyword(req:kw_req):
-    print(kw_req)
-    print(kw_req.fullurl)
-    print(kw_req.shorturl)
+    print(req)
+    print(req.fullurl)
+    print(req.shorturl)
 
     return "OK"