1
This commit is contained in:
parent
b880eff9ee
commit
3a8712b357
2
main.py
2
main.py
@ -200,7 +200,7 @@ async def getgameprice(request: Request, oldGameId: int, nums: int = 0):
|
|||||||
gameprice['prices'] = price[:nums]
|
gameprice['prices'] = price[:nums]
|
||||||
else:
|
else:
|
||||||
logger.error(f"get price with {oldGameId} failed\n {gameprice}")
|
logger.error(f"get price with {oldGameId} failed\n {gameprice}")
|
||||||
gameprice['prices'] = []
|
gameprice = []
|
||||||
|
|
||||||
logger.info(f"get gameprice with {oldGameId} !")
|
logger.info(f"get gameprice with {oldGameId} !")
|
||||||
return JSONResponse(
|
return JSONResponse(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user