Update serve.js
This commit is contained in:
parent
246720872b
commit
8587d11b16
@ -31,7 +31,7 @@ Meteor.methods({
|
||||
date.setMonth(madate[0]);
|
||||
date.setDate(madate[1]);
|
||||
date.setFullYear(madate[2]);
|
||||
|
||||
if (pre !== undefined && post !== undefined) {
|
||||
schedule.insert({
|
||||
"pretext": date.toDateString().slice(0,date.length),
|
||||
"aftertext": post,
|
||||
@ -39,4 +39,5 @@ Meteor.methods({
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user