Skip to content

Commit

Permalink
add tag to prevent flooding with notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 17, 2024
1 parent 3d16b09 commit e28b6c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auctions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2986,6 +2986,7 @@ def get_context_data(self, **kwargs):
"head": lot.lot_name + " is about to be sold",
"body": f"Lot {lot.custom_lot_number} Don't miss out, bid now! You're getting this notification because you watched this lot.",
"url": "https://" + lot.full_lot_link,
"tag": "lot_sell_notification",
}
if lot.thumbnail:
payload["icon"] = lot.thumbnail.image.url
Expand Down

0 comments on commit e28b6c3

Please sign in to comment.