فهرست منبع

query-node: remove redundant assignment for isTypeOf property

metmirr 4 سال پیش
والد
کامیت
45ce66b1ba
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      query-node/mappings/content-directory/entity/create.ts

+ 0 - 2
query-node/mappings/content-directory/entity/create.ts

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