summaryrefslogtreecommitdiffstats
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/registrationhook.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/registrationhook.js b/server/models/registrationhook.js
index 0b7566d..1e74288 100644
--- a/server/models/registrationhook.js
+++ b/server/models/registrationhook.js
@@ -18,7 +18,7 @@ module.exports = (sequelize, DataTypes) => {
})
registrationhook.associate = function (models) {
var RegistrationhookXGroup = sequelize.define('registrationhook_x_group', {}, { timestamps: false, freezeTableName: true })
- registrationhook.belongsToMany(models.group, { as: 'groups', through: RegistrationhookXGroup, foreignKey: 'registraionhookId', otherKey: 'groupId' })
+ registrationhook.belongsToMany(models.group, { as: 'groups', through: RegistrationhookXGroup, foreignKey: 'registrationhookId', otherKey: 'groupId' })
}
return registrationhook
} \ No newline at end of file