Remove token from config file

This commit is contained in:
Cadence Ember 2024-09-13 23:47:11 +12:00
parent c0d92ea66d
commit cc7831a313
9 changed files with 11 additions and 22 deletions

View file

@ -13,7 +13,6 @@ const data = require("./data")
const fetch = require("node-fetch")
const {green} = require("colorette")
const config = require("../config")
const passthrough = require("../src/passthrough")
const db = new sqlite(":memory:")
@ -46,7 +45,7 @@ const discord = {
])
}
Object.assign(passthrough, { discord, config, sync, db })
Object.assign(passthrough, { discord, sync, db })
const orm = sync.require("../src/db/orm")
passthrough.from = orm.from