Merge pull request 'fix: refs #212295 ticket 212295 Fixed claim link' (!2870) from 212295-liliumUrl into master
Reviewed-on: #2870 Reviewed-by: Javier Segarra <jsegarra@verdnatura.es>
This commit is contained in:
commit
5b964aec1e
|
@ -108,7 +108,7 @@ module.exports = Self => {
|
|||
|
||||
async function notifyStateChange(ctx, workerId, claim, newState) {
|
||||
const models = Self.app.models;
|
||||
const url = await models.Url.getUrl();
|
||||
const url = await models.Url.getUrl('lilium');
|
||||
const $t = ctx.req.__;
|
||||
|
||||
const message = $t(`Claim state has changed to`, {
|
||||
|
@ -122,7 +122,7 @@ module.exports = Self => {
|
|||
|
||||
async function notifyPickUp(ctx, workerId, claim) {
|
||||
const models = Self.app.models;
|
||||
const url = await models.Url.getUrl();
|
||||
const url = await models.Url.getUrl('lilium');
|
||||
const $t = ctx.req.__; // $translate
|
||||
|
||||
const message = $t('Claim will be picked', {
|
||||
|
|
Loading…
Reference in New Issue