forked from tsai/budibase
3 changed files with 11 additions and 5 deletions
@ -0,0 +1,9 @@ |
|||||
|
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) |
||||
|
} |
||||
Loading…
Reference in new issue