Skip to content

Commit

Permalink
Bugfix use of other template
Browse files Browse the repository at this point in the history
  • Loading branch information
dschiese committed Nov 8, 2024
1 parent a1f3770 commit 9ce5736
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public ExplanationMetaData(String qanaryComponent, String graph, String itemTemp
this.qanaryComponent = new QanaryComponent(qanaryComponent);
this.graph = new URI(graph);
this.doGenerative = doGenerative;
this.itemTemplate = itemTemplate != null ? prefixTemplate : TemplateExplanationsService.getStringFromFile(DEFAULT_METHOD_TEMPLATE_ROOT_PATH + "item/en");
this.itemTemplate = itemTemplate != null ? itemTemplate : TemplateExplanationsService.getStringFromFile(DEFAULT_METHOD_TEMPLATE_ROOT_PATH + "item/en");
this.prefixTemplate = prefixTemplate != null ? prefixTemplate : TemplateExplanationsService.getStringFromFile(DEFAULT_METHOD_TEMPLATE_ROOT_PATH + "prefix/en");
this.requestQuery = query;
}
Expand Down

0 comments on commit 9ce5736

Please sign in to comment.