Skip to content

Commit

Permalink
Only generate for programmes
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarvelle committed May 28, 2024
1 parent 1a1283d commit 701fa76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/no/ndla/taxonomy/service/NodeService.java
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ private List<Node> buildAllContexts() {
logger.info("Building contexts for all roots in schema");
var startTime = System.currentTimeMillis();
List<Node> rootNodes = nodeRepository.findByNodeType(
Optional.empty(),
Optional.of(List.of(NodeType.PROGRAMME)),
Optional.empty(),
Optional.empty(),
Optional.empty(),
Expand Down

0 comments on commit 701fa76

Please sign in to comment.