Skip to content

Commit

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

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

return 200

Expand Down

0 comments on commit a947fed

Please sign in to comment.