budibase/packages/worker/src/middleware/check-key.js

5 lines
117 B
JavaScript
Raw Normal View History

module.exports = async (ctx, next) => {
// TODO: need to check the API key provided in the header
await next()
}