fixes
This commit is contained in:
		@@ -55,7 +55,7 @@ class ProductService {
 | 
			
		||||
    async getByLocalId(groupId, localId) {
 | 
			
		||||
        let result = (await db.query("SELECT * FROM products WHERE group_id = $1 AND local_id = $2", [groupId, localId]));
 | 
			
		||||
        if (result.rowCount == 0) throw new customError(`getByLocalId product not found`, responseCodes.responses.products.not_found);
 | 
			
		||||
        return responseCodes.rows[0];
 | 
			
		||||
        return result.rows[0];
 | 
			
		||||
    }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user