cahnges
Browse files
app.py
CHANGED
@@ -134,6 +134,6 @@ class Item(BaseModel):
|
|
134 |
description: Union[str, None] = None
|
135 |
|
136 |
@app.post("/getProfileMatchResultsByName/{id}")
|
137 |
-
def
|
138 |
json_compatible_item_data = jsonable_encoder(item)
|
139 |
return JSONResponse(content=json_compatible_item_data)
|
|
|
134 |
description: Union[str, None] = None
|
135 |
|
136 |
@app.post("/getProfileMatchResultsByName/{id}")
|
137 |
+
def getProfileMatchResultsByName(id: str, item: Item):
|
138 |
json_compatible_item_data = jsonable_encoder(item)
|
139 |
return JSONResponse(content=json_compatible_item_data)
|