chore: remove dependency on async local storage

This commit is contained in:
Rafael Taranto 2025-04-01 11:21:27 +01:00
parent d452aac0f9
commit ec30811de1
14 changed files with 109 additions and 296 deletions

View file

@ -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