Skip to content

Commit

Permalink
chore: modify status in cancel auction websocket notify method
Browse files Browse the repository at this point in the history
  • Loading branch information
sandronadiradze committed Nov 4, 2024
1 parent 3571a76 commit e8c9c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auction/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ def post(self, request, auction_id):

def notify_auction_group(self, auction):
channel_layer = get_channel_layer()
data = {"auction_id": str(auction.id), "auction_status": "Cancelled"}
data = {"auction_id": str(auction.id), "auction_status": "Canceled"}

async_to_sync(channel_layer.group_send)(
f"auction_{str(auction.id)}",
Expand Down

0 comments on commit e8c9c9c

Please sign in to comment.