Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
fix delete link
Browse files Browse the repository at this point in the history
  • Loading branch information
Divkix committed Mar 8, 2023
1 parent 2ff2828 commit 487c3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebStreamer/db/downloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async def delete_download(self, link: str, user_id: int) -> int | None:
"""
return await self.update(
{"link": link, "user_id": user_id},
{"$set": {"valid_upto": datetime.now()}},
{"valid_upto": datetime.now()},
)

async def get_user_active_links(
Expand Down

0 comments on commit 487c3c1

Please sign in to comment.