From ed3ba7973064c4b10821bd6ce7a56a8310c194b1 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Thu, 21 Jul 2022 13:03:33 +0100 Subject: [PATCH] switch import order --- packages/worker/src/api/routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/worker/src/api/routes/index.js b/packages/worker/src/api/routes/index.js index 361c52fb18..89c67bdf88 100644 --- a/packages/worker/src/api/routes/index.js +++ b/packages/worker/src/api/routes/index.js @@ -1,3 +1,4 @@ +const { api } = require("@budibase/pro") const userRoutes = require("./global/users") const configRoutes = require("./global/configs") const workspaceRoutes = require("./global/workspaces") @@ -11,7 +12,6 @@ const tenantsRoutes = require("./system/tenants") const statusRoutes = require("./system/status") const selfRoutes = require("./global/self") const licenseRoutes = require("./global/license") -const { api } = require("@budibase/pro") let userGroupRoutes = api.groups exports.routes = [