add support for Gotify push notifications
This commit is contained in:
@@ -7,6 +7,7 @@ const PasswordReset = require('./PasswordReset.model')
|
||||
const AppAuthorization = require('./AppAuthorization.model')
|
||||
const AppPassword = require('./AppPassword.model')
|
||||
const uuid = require('uuid').v4
|
||||
const NotifyConfig = require('../system/NotifyConfig.model')
|
||||
|
||||
/*
|
||||
* Auth user model. This inherits fields and methods from the default
|
||||
@@ -36,6 +37,7 @@ class User extends AuthUser {
|
||||
create_date: {type: Date, default: () => new Date},
|
||||
photo_file_id: String,
|
||||
trap: String,
|
||||
notify_config: NotifyConfig,
|
||||
}}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user