10 lines
233 B
JavaScript
10 lines
233 B
JavaScript
|
const env = require("../environment")
|
||
|
const CouchDB = require("../db")
|
||
|
const { init } = require("@budibase/auth")
|
||
|
|
||
|
exports.threadSetup = () => {
|
||
|
// when thread starts, make sure it is recorded
|
||
|
env.setInThread()
|
||
|
init(CouchDB)
|
||
|
}
|