Commit b2ce38d6 authored by Curtis Adam's avatar Curtis Adam
Browse files

Fix push notifications not sending messages if executed by the cronjob

parent 37506b29
......@@ -180,7 +180,7 @@ Meteor.methods({
if (Meteor.settings.debug.leitner) {
console.log("===> Sending Webpush reminder Message");
}
web.prepareWeb(cardset, user._id, messageType);
web.prepareWeb(cardset, user._id, undefined, messageType);
if (task_id !== undefined) {
LeitnerTasks.update({
_id: task_id
......
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