|
@@ -329,7 +329,6 @@ async function createLicense(
|
|
nextEntityIdBeforeTransaction
|
|
nextEntityIdBeforeTransaction
|
|
)
|
|
)
|
|
const k = new KnownLicense()
|
|
const k = new KnownLicense()
|
|
- // k.isTypeOf = 'KnownLicense'
|
|
|
|
k.code = kLicense.code
|
|
k.code = kLicense.code
|
|
k.description = kLicense.description
|
|
k.description = kLicense.description
|
|
k.name = kLicense.name
|
|
k.name = kLicense.name
|
|
@@ -345,7 +344,6 @@ async function createLicense(
|
|
nextEntityIdBeforeTransaction
|
|
nextEntityIdBeforeTransaction
|
|
)
|
|
)
|
|
const u = new UserDefinedLicense()
|
|
const u = new UserDefinedLicense()
|
|
- u.isTypeOf = 'UserDefinedLicense'
|
|
|
|
u.content = content
|
|
u.content = content
|
|
// Set the license type
|
|
// Set the license type
|
|
license.type = u
|
|
license.type = u
|