Removed unfinished code
This commit is contained in:
parent
1253de3bb4
commit
5f6cb95f52
2
index.js
2
index.js
|
@ -180,8 +180,6 @@ if (fs.existsSync("./import.json")) {
|
|||
insertData();
|
||||
}
|
||||
|
||||
const findOrphans = async () => { // Find extensions that exist but don't have a linked Discord user
|
||||
pool.query("SELECT id FROM asterisk.devices WHERE id NOT IN (SELECT extension FROM asterisk.discord_users)")
|
||||
|
||||
// Startup
|
||||
require("./migrations")(pool).then(() => {
|
||||
|
|
Loading…
Reference in a new issue