Merge branch '2190-route_descriptor' of verdnatura/salix into dev
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-03-16 12:15:20 +00:00 committed by Gitea
commit adf9986e57
1 changed files with 2 additions and 4 deletions

View File

@ -35,10 +35,9 @@ class Controller extends Component {
}
showRouteReport() {
const user = this.route.worker.user;
const params = {
authorization: this.vnToken.token,
clientId: user.id,
clientId: this.vnConfig.storage.currentUserWorkerId,
routeId: this.route.id
};
const serializedParams = this.$httpParamSerializer(params);
@ -47,10 +46,9 @@ class Controller extends Component {
}
sendRouteReport() {
const user = this.route.worker.user;
const params = {
recipient: user.emailUser.email,
clientId: user.id,
clientId: this.vnConfig.storage.currentUserWorkerId,
routeId: this.route.id
};
this.$http.get(`email/driver-route`, {params}).then(() => {