@budibase/worker 3.23.29 → 3.23.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/api/index.ts +1 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/worker",
3
3
  "email": "hi@budibase.com",
4
- "version": "3.23.29",
4
+ "version": "3.23.31",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -109,5 +109,5 @@
109
109
  }
110
110
  }
111
111
  },
112
- "gitHead": "e9bb53161a551bda13ab996da6cba563f6be5400"
112
+ "gitHead": "50a8bc7136e331c52fde9eb158252adbdafca3cf"
113
113
  }
package/src/api/index.ts CHANGED
@@ -150,6 +150,7 @@ router
150
150
  .use("/health", ctx => (ctx.status = 200))
151
151
  .use(auth.buildAuthMiddleware(PUBLIC_ENDPOINTS))
152
152
  .use(auth.buildTenancyMiddleware(PUBLIC_ENDPOINTS, NO_TENANCY_ENDPOINTS))
153
+ .use(middleware.activeTenant())
153
154
  .use(auth.buildCsrfMiddleware({ noCsrfPatterns: NO_CSRF_ENDPOINTS }))
154
155
  .use(pro.licensing())
155
156
  // for now no public access is allowed to worker (bar health check)