chore: remove dependency on async local storage
This commit is contained in:
parent
d452aac0f9
commit
ec30811de1
14 changed files with 109 additions and 296 deletions
|
|
@ -1,10 +0,0 @@
|
|||
const { asyncLocalStorage, defaultStore } = require('../async-storage')
|
||||
|
||||
const computeSchema = (req, res, next) => {
|
||||
const store = defaultStore()
|
||||
asyncLocalStorage.run(store, () => {
|
||||
next()
|
||||
})
|
||||
}
|
||||
|
||||
module.exports = computeSchema
|
||||
Loading…
Add table
Add a link
Reference in a new issue