Skip to content

Commit

Permalink
Added delete feature
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekTBrown committed Aug 10, 2017
1 parent ea68715 commit 0567796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/imports/course/course_view_lab.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0567796

Please sign in to comment.