From a5c3ba3926d414662d59a4d99d7055d3c269ec0d Mon Sep 17 00:00:00 2001 From: joan Date: Wed, 19 May 2021 10:26:58 +0200 Subject: [PATCH] 2921 - Changed the ticket url of rocket notifications --- modules/claim/back/methods/claim/regularizeClaim.js | 2 +- modules/ticket/back/methods/ticket/componentUpdate.js | 2 +- modules/ticket/back/methods/ticket/deleteStowaway.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/claim/back/methods/claim/regularizeClaim.js b/modules/claim/back/methods/claim/regularizeClaim.js index 99d9055b2..16ef1adfe 100644 --- a/modules/claim/back/methods/claim/regularizeClaim.js +++ b/modules/claim/back/methods/claim/regularizeClaim.js @@ -62,7 +62,7 @@ module.exports = Self => { itemId: sale.itemFk, ticketId: sale.ticketFk, nickname: nickname, - ticketUrl: `${origin}/#!/ticket/${sale.ticketFk}/summary`, + ticketUrl: `${origin}/#!/ticket/${sale.ticketFk}/sale`, itemUrl: `${origin}/#!/item/${sale.itemFk}/summary` }); await models.Chat.sendCheckingPresence(ctx, salesPerson.id, message); diff --git a/modules/ticket/back/methods/ticket/componentUpdate.js b/modules/ticket/back/methods/ticket/componentUpdate.js index c4d1baed1..44e85c093 100644 --- a/modules/ticket/back/methods/ticket/componentUpdate.js +++ b/modules/ticket/back/methods/ticket/componentUpdate.js @@ -221,7 +221,7 @@ module.exports = Self => { const message = $t('Changed this data from the ticket', { ticketId: args.id, - ticketUrl: `${origin}/#!/ticket/${args.id}/summary`, + ticketUrl: `${origin}/#!/ticket/${args.id}/sale`, changes: changesMade }); await models.Chat.sendCheckingPresence(ctx, salesPersonId, message, myOptions); diff --git a/modules/ticket/back/methods/ticket/deleteStowaway.js b/modules/ticket/back/methods/ticket/deleteStowaway.js index 5f51b08a4..b86cdc464 100644 --- a/modules/ticket/back/methods/ticket/deleteStowaway.js +++ b/modules/ticket/back/methods/ticket/deleteStowaway.js @@ -77,7 +77,7 @@ module.exports = Self => { const origin = ctx.req.headers.origin; const message = $t('This ticket is not an stowaway anymore', { ticketId: stowawayFk, - ticketUrl: `${origin}/#!/ticket/${stowawayFk}/summary` + ticketUrl: `${origin}/#!/ticket/${stowawayFk}/sale` }); await models.Chat.sendCheckingPresence(ctx, salesPerson.id, message); }