Allow saving per-app builder metadata without a license

This commit is contained in:
Andrew Kingston 2023-11-23 17:29:01 +00:00
parent ce5d6267cc
commit d217053e87
1 changed files with 0 additions and 7 deletions

View File

@ -209,13 +209,6 @@ export class UserDB {
throw new Error("_id or email is required") throw new Error("_id or email is required")
} }
if (
user.builder?.apps?.length &&
!(await UserDB.features.isAppBuildersEnabled())
) {
throw new Error("Unable to update app builders, please check license")
}
let dbUser: User | undefined let dbUser: User | undefined
if (_id) { if (_id) {
// try to get existing user from db // try to get existing user from db