Move removeCollections.js to server folder from both and check patientId while setting null array to toolState data
This commit is contained in:
1 parent
ca30e22464
commit
e6fd2e60b0
3 files changed
+17
-9
No files matched your search
@@ -1,8 +0,0 @@
|
||||
Meteor.methods({
|
||||
"removeMeasurementsByPatientId": function(patientId) {
|
||||
Measurements.remove(
|
||||
{patientId: patientId},
|
||||
{multi: true}
|
||||
);
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user