Skip to content

Commit

Permalink
Update inventory_funcs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
skrphenix committed Jul 20, 2023
1 parent acb3b0e commit 2cd3c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion economy with mongoDB/modules/inventory_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async def update_inv(user: discord.Member, amount: Union[float, int], mode: str)
{"_id": user.id}, {"$inc": {mode: amount}}
)

return await get_inv_data(user, mode)
return [await get_inv_data(user, mode)]


async def change_inv(user: discord.Member, amount: Union[float, int, None], mode: str) -> Optional[Any]:
Expand Down

0 comments on commit 2cd3c82

Please sign in to comment.