Updated method path
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-05-09 13:15:48 +02:00
parent c6e554c608
commit f806a598ea
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ export default class Controller extends Section {
clientIds: clientIds
}, this.campaign);
this.$http.post('notify/consumption', params)
this.$http.post('schedule/consumption', params)
.then(() => this.$.filters.hide())
.then(() => this.vnApp.showSuccess(this.$t('Notifications sent!')));
}

View File

@ -74,7 +74,7 @@ describe('Client notification', () => {
clientIds: [1101, 1102]
}, controller.campaign);
$httpBackend.expect('POST', `notify/consumption`, params).respond(200, params);
$httpBackend.expect('POST', `schedule/consumption`, params).respond(200, params);
controller.onSendClientConsumption();
$httpBackend.flush();