diff --git a/modules/notification/notification.model.js b/modules/notification/notification.model.js index 469ec2f..eb8e66c 100644 --- a/modules/notification/notification.model.js +++ b/modules/notification/notification.model.js @@ -37,7 +37,7 @@ module.exports = function (sequelize, DataTypes) { }); Notification.associate = function (models) { - Notification.User = Notification.belongsTo(models.User, { foreignKey: 'userId', as: "user" }); + //Notification.User = Notification.belongsTo(models.User, { foreignKey: 'userId', as: "user" }); Notification.Details = Notification.hasMany(models.NotificationDetail, { foreignKey: 'notificationId', as: 'details' }); };