4496-entry.buy_import #1047

Merged
joan merged 2 commits from 4496-entry.buy_import into dev 2022-09-13 09:58:31 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 8c6c7345cd - Show all commits

View File

@ -20,7 +20,7 @@ module.exports = Self => {
},
http: {
path: `/:id/importBuysPreview`,
verb: 'GET'
verb: 'POST'
}
});

View File

@ -58,7 +58,7 @@ class Controller extends Section {
fetchBuys(buys) {
const params = {buys};
const query = `Entries/${this.$params.id}/importBuysPreview`;
this.$http.get(query, {params}).then(res => {
this.$http.post(query, params).then(res => {
this.import.buys = res.data;
});
}