diff --git a/packages/server/src/api/controllers/application.js b/packages/server/src/api/controllers/application.js index 66cde54fd6..1214ad43cb 100644 --- a/packages/server/src/api/controllers/application.js +++ b/packages/server/src/api/controllers/application.js @@ -70,7 +70,6 @@ exports.create = async function(ctx) { const newApplication = { _id: appId, type: "app", - userInstanceMap: {}, version: packageJson.version, componentLibraries: ["@budibase/standard-components"], name: ctx.request.body.name, diff --git a/packages/server/src/api/controllers/user.js b/packages/server/src/api/controllers/user.js index da0adff895..ba6adeb060 100644 --- a/packages/server/src/api/controllers/user.js +++ b/packages/server/src/api/controllers/user.js @@ -39,13 +39,6 @@ exports.create = async function(ctx) { const response = await db.post(user) - const app = await db.get(ctx.user.appId) - app.userInstanceMap = { - ...app.userInstanceMap, - [username]: ctx.user.appId, - } - await db.put(app) - ctx.status = 200 ctx.message = "User created successfully." ctx.userId = response._id