Typescript's better.
This commit is contained in:
		@@ -26,10 +26,10 @@ class AbstractProductService {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    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) => {
 | 
			
		||||
                errorHandler(e, "netweight")
 | 
			
		||||
            }));
 | 
			
		||||
            });
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    async updateImageFilename(groupId, localId, image_filename) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user