From e596d1767cc601ab803b11ba36f8011f5b8ca55c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Thorsnes?= Date: Fri, 20 Sep 2024 19:05:21 +0200 Subject: [PATCH] tweaka litt for yff --- flows/yff-laereplan.js | 2 +- flows/yff-tilbakemelding.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flows/yff-laereplan.js b/flows/yff-laereplan.js index 918679b..0ed7bd6 100644 --- a/flows/yff-laereplan.js +++ b/flows/yff-laereplan.js @@ -138,7 +138,7 @@ module.exports = { mapper: (documentData) => { return { description, - bedrifter: documentData.content.utplasseringer.map(u => u.name).join(', ') + bedrift: documentData.content.utplassering.name } } }, diff --git a/flows/yff-tilbakemelding.js b/flows/yff-tilbakemelding.js index cce2ee0..03f5ca6 100644 --- a/flows/yff-tilbakemelding.js +++ b/flows/yff-tilbakemelding.js @@ -57,7 +57,7 @@ module.exports = { }, student: { name: documentData.student.name, - level: documentData.student.level + level: documentData.content.utplassering.level }, created: { timestamp: documentData.created.timestamp