syntax cleanups
This commit is contained in:
@@ -270,8 +270,7 @@ module.exports = {Host: ModelPs(Host)};
|
||||
|
||||
(async function(){
|
||||
try{
|
||||
await Host.lookUpReady();
|
||||
|
||||
// await Host.lookUpReady();
|
||||
// let res = await Host.create({
|
||||
// host: '*.test.holycore.quest',
|
||||
// ip: '192.168.1.47',
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
const { Client, Attribute, Change } = require('ldapts');
|
||||
const {Token, InviteToken} = require('./token');
|
||||
const conf = require('../app').conf.ldap;
|
||||
const conf = require('../conf').ldap;
|
||||
|
||||
const client = new Client({
|
||||
url: conf.url,
|
||||
|
||||
Reference in New Issue
Block a user