Skip to content

Commit

Permalink
Return correct templateText for non-branch executions/previews.
Browse files Browse the repository at this point in the history
  • Loading branch information
netwolfuk committed Jul 20, 2018
1 parent de73836 commit ed7de2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public WebHookTemplateContent findWebHookTemplate(BuildStateEnum state, SBuildTy
String webhookFormat, String templateName) {
return WebHookTemplateContent.create(
state.getShortName(),
myWebHookTemplateConfig.getDefaultBranchTemplate().getTemplateContent(),
myWebHookTemplateConfig.getDefaultTemplate().getTemplateContent(),
true,
myWebHookTemplateConfig.getPreferredDateTimeFormat()
);
Expand Down

0 comments on commit ed7de2b

Please sign in to comment.