Skip to content

Commit

Permalink
Update api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeyUsersREC authored Nov 30, 2024
1 parent a947fed commit 95b7004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ async def POST_send_loa(

ns = schema
del ns["_id"]
await self.bot.loas.update_by_id(schema)
await self.bot.loas.db.update_one({"_id": schema["_id"]}, ns)

return 200

Expand Down

0 comments on commit 95b7004

Please sign in to comment.