diff --git a/src/main/server/adapter/ceasn/ceasn.js b/src/main/server/adapter/ceasn/ceasn.js index 3e6a05a73..c88638ae3 100644 --- a/src/main/server/adapter/ceasn/ceasn.js +++ b/src/main/server/adapter/ceasn/ceasn.js @@ -245,7 +245,7 @@ async function cassFrameworkAsCeasn() { for (var i = 0; i < f.competency.length; i++) { var c = await EcCompetency.get(f.competency[i], null, null, repo); if (c != null) { - competencies[f.competency[i]] = competencies[c.id] = c; + competencies[f.competency[i]] = competencies[c.shortId()] = competencies[c.id] = c; } }