Skip to content

Commit

Permalink
Collection export await context parse
Browse files Browse the repository at this point in the history
  • Loading branch information
gloverkari committed Mar 5, 2024
1 parent 59c63be commit dce1f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/server/adapter/ceasn/ceasn.js
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ async function competencyInCollectionPromise(compId, competencies, allCompetenci
}
delete competencies[compId];
var id = c.id;
c.context = JSON.parse(cass2ceasn);
c.context = await JSON.parse(cass2ceasn);
c["ceterms:isMemberOf"] = collections;
if (c.name == null || c.name == "")
if (c.description != null && c.description != "") {
Expand Down

0 comments on commit dce1f2e

Please sign in to comment.