Bug Fixing Create New Supplier Menu Supplier
This commit is contained in:
		| @@ -38,13 +38,13 @@ export class Supplier { | ||||
|     } | ||||
|      | ||||
|     async create(data) { | ||||
|         try { | ||||
|         // try { | ||||
|             const response = await http.post('/users/supplier').send(data); | ||||
|             await this.getData(); | ||||
|            //await this.getData(); | ||||
|             return response; | ||||
|         } catch (e) { | ||||
|             console.error(e); | ||||
|         } | ||||
|         // } catch (e) { | ||||
|         //     console.error(e); | ||||
|         // } | ||||
|     } | ||||
|     async createTransaction(data) { | ||||
|         try { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user