summaryrefslogtreecommitdiffstats
path: root/server/models/registrationhook.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/registrationhook.js')
-rw-r--r--server/models/registrationhook.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/models/registrationhook.js b/server/models/registrationhook.js
index 0d1ea6e..25fc0f0 100644
--- a/server/models/registrationhook.js
+++ b/server/models/registrationhook.js
@@ -14,9 +14,9 @@ module.exports = (sequelize, DataTypes) => {
script: {
allowNull: true,
type: DataTypes.BLOB,
- get() {
+ get () {
var blob = this.getDataValue('script')
- return blob ? blob.toString() : '';
+ return blob ? blob.toString() : ''
}
}
}, {
@@ -27,4 +27,4 @@ module.exports = (sequelize, DataTypes) => {
registrationhook.belongsToMany(models.group, { as: 'groups', through: RegistrationhookXGroup, foreignKey: 'registrationhookId', otherKey: 'groupId' })
}
return registrationhook
-} \ No newline at end of file
+}