syntax cleanups

This commit is contained in:
2024-07-31 20:19:14 -04:00
parent fb9a19d5f0
commit 0eb6af1723
10 changed files with 286 additions and 385 deletions
+1 -2
View File
@@ -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',
+1 -1
View File
@@ -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,