This commit is contained in:
parent
80bae4fdac
commit
d60a95feaa
|
@ -207,5 +207,5 @@
|
||||||
"The notification subscription of this worker cant be modified": "The notification subscription of this worker cant be modified",
|
"The notification subscription of this worker cant be modified": "The notification subscription of this worker cant be modified",
|
||||||
"Name should be uppercase": "Name should be uppercase",
|
"Name should be uppercase": "Name should be uppercase",
|
||||||
"You cannot update these fields": "You cannot update these fields",
|
"You cannot update these fields": "You cannot update these fields",
|
||||||
"CountryFK cannot be empty": "CountryFK cannot be empty"
|
"CountryFK cannot be empty": "Country cannot be empty"
|
||||||
}
|
}
|
|
@ -341,5 +341,5 @@
|
||||||
"Bank entity must be specified": "La entidad bancaria es obligatoria",
|
"Bank entity must be specified": "La entidad bancaria es obligatoria",
|
||||||
"An email is necessary": "Es necesario un email",
|
"An email is necessary": "Es necesario un email",
|
||||||
"You cannot update these fields": "No puedes actualizar estos campos",
|
"You cannot update these fields": "No puedes actualizar estos campos",
|
||||||
"CountryFK cannot be empty": "CountryFK cannot be empty"
|
"CountryFK cannot be empty": "El país no puede estar vacío"
|
||||||
}
|
}
|
|
@ -52,6 +52,6 @@ module.exports = Self => {
|
||||||
else ctx.args.recipient = reportMail;
|
else ctx.args.recipient = reportMail;
|
||||||
|
|
||||||
if (!ctx.args.recipient) throw new UserError('An email is necessary');
|
if (!ctx.args.recipient) throw new UserError('An email is necessary');
|
||||||
Self.sendTemplate(ctx, 'driver-route');
|
return Self.sendTemplate(ctx, 'driver-route');
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue