Skip to content

Commit b1718ff

Browse files
committed
fix: course title and slug mapping
Signed-off-by: Mouad BANI <mouad-mb@outlook.com>
1 parent 7f3a977 commit b1718ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • services/apps/snowflake_connectors/src/integrations/tnc/courses

services/apps/snowflake_connectors/src/integrations/tnc/courses/transformer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ export class TncCoursesTransformer extends TncTransformerBase {
103103
},
104104
},
105105
attributes: {
106-
productName: (row.COURSE_NAME as string | null) || null,
106+
productName: (row.TITLE as string | null) || null,
107107
productType: (row.PRODUCT_TYPE as string | null) || null,
108108
parentProduct: (row.COURSE_GROUP_ID as string | null) || null,
109-
courseSlug: (row.COURSE_SLUG as string | null) || null,
109+
courseSlug: (row.SLUG as string | null) || null,
110110
instructionType: (row.INSTRUCTION_TYPE as string | null) || null,
111111
isCertification: Boolean(row.IS_CERTIFICATION),
112112
isTraining: Boolean(row.IS_TRAINING),

0 commit comments

Comments
 (0)