Update
This commit is contained in:
parent
712f15e724
commit
82aff1c8bf
|
@ -58,10 +58,10 @@ async def add_dating(dating: SDatingAdd = Body()) -> JSONResponse:
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
||||||
@router.get("/get")
|
# @router.get("/get")
|
||||||
async def get_datings() -> list[SDating]:
|
# async def get_datings() -> list[SDating]:
|
||||||
datings = await DatingRepository.get_datings()
|
# datings = await DatingRepository.get_datings()
|
||||||
return datings
|
# return datings
|
||||||
|
|
||||||
|
|
||||||
# async def get_datings() -> JSONResponse:
|
# async def get_datings() -> JSONResponse:
|
||||||
|
|
Loading…
Reference in New Issue