Commit 0fcd2ba0 authored by Curtis Adam's avatar Curtis Adam

Update the editing deadline on already submitted transcripts if the value changes

parent 4eafb023
......@@ -819,6 +819,12 @@ Meteor.methods({
'transcriptBonus.minimumSubmissions': minimumSubmissions
TranscriptBonus.update({"cardset_id": id}, {
$set: {
"deadline": deadlineSubmission,
"deadlineEditing": deadlineEditing
}, {multi: true});
return cardset._id;
} else {
throw new Meteor.Error("not-authorized");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment