feat: not used create commission
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user