Merge branch '2190-route_descriptor' of verdnatura/salix into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
commit
adf9986e57
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in New Issue