Merge pull request '2921 - Changed the ticket url of rocket notifications' (#626) from 2921-notification_url into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #626
This commit is contained in:
Joan Sanchez 2021-05-20 08:27:36 +00:00
commit e136387fcb
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);
}