fix(v1:proposals:notifications): Change user.id with proposal.bidder
This commit is contained in:
@@ -76,7 +76,7 @@ async function onPatchEvent( id , newProposalData ){
|
||||
} );
|
||||
|
||||
const notification = new notificationsModel({
|
||||
"owner": user.id,
|
||||
"owner": proposal.bidder,
|
||||
"title": `Your proposal has been accepted!`,
|
||||
"description": `${load.shipment_code}`,
|
||||
"tag":"accepted_proposal",
|
||||
|
||||
Reference in New Issue
Block a user