Merge branch 'master' of github.com:budibase/budibase into budibase-ai-2
This commit is contained in:
commit
b36c64fbde
|
@ -261,9 +261,13 @@ export class UserDB {
|
|||
}
|
||||
}
|
||||
|
||||
const change = dbUser ? 0 : 1 // no change if there is existing user
|
||||
|
||||
let change = 1
|
||||
let creatorsChange = 0
|
||||
if (opts.isAccountHolder || dbUser) {
|
||||
change = 0
|
||||
creatorsChange = 1
|
||||
}
|
||||
|
||||
if (dbUser) {
|
||||
const [isDbUserCreator, isUserCreator] = await creatorsInList([
|
||||
dbUser,
|
||||
|
|
|
@ -6,6 +6,7 @@ export interface GetLicenseRequest {
|
|||
// All fields should be optional to cater for
|
||||
// historical versions of budibase
|
||||
quotaUsage?: QuotaUsage
|
||||
tenantId?: string
|
||||
install: {
|
||||
id: string
|
||||
tenantId: string
|
||||
|
|
Loading…
Reference in New Issue