Skip to content

Commit

Permalink
chore: remove check for is_seller in bid consumer
Browse files Browse the repository at this point in the history
  • Loading branch information
sandronadiradze committed Oct 26, 2024
1 parent c1e8c0c commit e77339f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bid/consumers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async def connect(self):
user = self.scope["user"]
self.auction_id = self.scope["url_route"]["kwargs"]["auction_id"]

if not user.is_authenticated or not user.is_seller:
if not user.is_authenticated:
await self.close()
return

Expand Down

0 comments on commit e77339f

Please sign in to comment.