Skip to content

Commit

Permalink
feat: update notification (#204)
Browse files Browse the repository at this point in the history
update notification
  • Loading branch information
rubenkristian authored Nov 1, 2022
1 parent 3206852 commit 6407abe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export class GeneticAnalysisOrderPaidHandler
role: 'GA',
entity_type: 'Genetic Analyst',
entity: 'New Order',
reference_id: geneticAnalysisOrder.geneticAnalysisTrackingId,
description: `A new order [] is awaiting process.`,
reference_id: geneticAnalysisOrder.id,
description: `A new order ${geneticAnalysisOrder.geneticAnalysisTrackingId} is awaiting process.`,
read: false,
created_at: currDateTime,
updated_at: currDateTime,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class GeneticAnalysisOrderCreatedHandler
entity_type: 'Genetic Analysis Orders',
entity: 'Order Created',
reference_id: geneticAnalysisOrder.id,
description: `You've successfully submitted your requested test for [].`,
description: `You've successfully submitted your requested test for ${geneticAnalysisOrder.geneticAnalysisTrackingId}.`,
read: false,
created_at: currDateTime,
updated_at: currDateTime,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export class OrderCreatedHandler
role: 'Customer',
entity_type: 'Order',
entity: 'Order Created',
reference_id: order.dnaSampleTrackingId,
description: `You've successfully submitted your requested test for [].`,
reference_id: order.id,
description: `You've successfully submitted your requested test for ${order.dnaSampleTrackingId}.`,
read: false,
created_at: currDateTime,
updated_at: currDateTime,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class OrderPaidHandler implements ICommandHandler<OrderPaidCommand> {
entity_type: 'Lab',
entity: 'New Order',
reference_id: order.id,
description: `A new order ([]) is awaiting process.`,
description: `A new order (${order.dnaSampleTrackingId}) is awaiting process.`,
read: false,
created_at: currDateTime,
updated_at: currDateTime,
Expand Down

0 comments on commit 6407abe

Please sign in to comment.