Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit d550e50

Browse files
Merge pull request #510 from MetaPhase-Consulting/update/handshake-notification-tag
New tag for handshake notifications sent to bidder
2 parents 3e472b5 + cebee99 commit d550e50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

talentmap_api/common/common_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ def cdoHandshakeNotification(perdet, cp_id, is_accept=True):
485485
bureau = BidHandshake.objects.get(cp_id=cp_id).owner
486486
if user:
487487
message = f"CDO has {action} handshake on your behalf for position with ID {cp_id}"
488-
sendBidHandshakeNotification(user, message, ['bidding'])
488+
sendBidHandshakeNotification(user, message, ['bidding', 'handshake_bidder'])
489489
if bureau:
490490
message = f"CDO has {action} handshake on behalf of bidder for position with ID {cp_id}"
491491
sendBidHandshakeNotification(bureau, message, ['bureau_bidding'])
@@ -497,7 +497,7 @@ def bureauHandshakeNotification(perdet, cp_id, is_accept=True):
497497
message = f"Bureau has {action} handshake for position with ID {cp_id}"
498498
user = UserProfile.objects.get(emp_id=perdet)
499499
if user:
500-
sendBidHandshakeNotification(user, message, ['bidding'])
500+
sendBidHandshakeNotification(user, message, ['bidding', 'handshake_bidder'])
501501

502502

503503
def sendBidHandshakeNotification(owner, message, tags=[]):

0 commit comments

Comments
 (0)