Trying to debug duplicate removal on QA server
This commit is contained in:
1 parent
be5ff6f590
commit
fdde2f9ff9
2 files changed
+5
No files matched your search
@@ -21,6 +21,9 @@ clearMeasurementTimepointData = function(measurementId, timepointId) {
|
||||
|
||||
if (Object.keys(data.timepoints).length === 0) {
|
||||
Meteor.call('removeMeasurement', measurementId, function(error, response) {
|
||||
if (error) {
|
||||
log.warn(error);
|
||||
}
|
||||
console.log('Removed!');
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user