feat: not used create commission

This commit is contained in:
caturbgs
2021-12-16 19:02:39 +07:00
parent ba01132cd4
commit b89eebb59b
3 changed files with 46 additions and 89 deletions

View File

@@ -33,11 +33,6 @@ export class Commission {
this.total_data = response.body.total_data ?? 0
}
async create(data) {
const response = await http.post('/users/supplier').send(data);
await this.getData();
return response;
}
async update(id, data) {
const response = await http.put(`/config/commission/${id}`).send(data);