diff --git a/client/imports/course/course_view_lab.component.ts b/client/imports/course/course_view_lab.component.ts index 9e40937e..e0bf17d6 100644 --- a/client/imports/course/course_view_lab.component.ts +++ b/client/imports/course/course_view_lab.component.ts @@ -91,7 +91,7 @@ } private delete(){ - Meteor.call('Courses.removeLab', this.lab._id, this.lab.course_id, (err, res) => { + Meteor.call('Courses.removeLab', { course_id : this.lab.course_id, lab_id: this.lab._id }, (err, res) => { if(err){ console.error(err); }