Typescript's better.
This commit is contained in:
		@@ -26,10 +26,10 @@ class AbstractProductService {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    async updateNetWeight(groupId, localId, net_weight) {
 | 
					    async updateNetWeight(groupId, localId, net_weight) {
 | 
				
			||||||
        await db.query("UPDATE abstract_products SET net_weight = $1 WHERE group_id = $2 AND local_id = $3", [net_weight, groupId, localId]
 | 
					        await db.query("UPDATE abstract_products SET net_weight = $1 WHERE group_id = $2 AND local_id = $3", [net_weight, groupId, localId])
 | 
				
			||||||
            .catch((e) => {
 | 
					            .catch((e) => {
 | 
				
			||||||
                errorHandler(e, "netweight")
 | 
					                errorHandler(e, "netweight")
 | 
				
			||||||
            }));
 | 
					            });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    async updateImageFilename(groupId, localId, image_filename) {
 | 
					    async updateImageFilename(groupId, localId, image_filename) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user