diff --git a/cron/notificationCleanup.js b/cron/notificationCleanup.js index 9c5a5b7..4d56949 100644 --- a/cron/notificationCleanup.js +++ b/cron/notificationCleanup.js @@ -1,7 +1,7 @@ import mongoose from "mongoose"; const notifModel = mongoose.model( - "notificaiton", + "notification", new mongoose.Schema( { createdAt: Date,