Ajout de logs pour le débogage dans la fonction get_path_from_id et suppression de logs redondants dans get_path_list
This commit is contained in:
@@ -133,6 +133,8 @@ const measurement = {
|
||||
|
||||
get_path_from_id: async function (projectId, orderId) {
|
||||
const query = database_manager.measurement.get_measurement_by_project_and_order_id(projectId, orderId);
|
||||
console.log("[FILE] get_path_from_id : " + query.path);
|
||||
console.log("[FILE] get_path_from_id : " + query);
|
||||
return query.path;
|
||||
},
|
||||
|
||||
@@ -150,9 +152,6 @@ const measurement = {
|
||||
const path = await this.get_path_from_id(projectId, orderId);
|
||||
pathList.push(path);
|
||||
}
|
||||
|
||||
console.log("[FILE] get_path_list : " + pathList);
|
||||
|
||||
return pathList;
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user