Skip to content

Commit 5b08a08

Browse files
Merge pull request #69 from SuffolkLITLab/bug-feedback-empty-content
Check for correct attr when template is supplied as a parameter
2 parents 7f69691 + 04bf052 commit 5b08a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docassemble/GithubFeedbackForm/github_issue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def make_github_issue(
461461
if template:
462462
if hasattr(template, "subject"):
463463
title = template.subject
464-
if hasattr(template, "body"):
464+
if hasattr(template, "content"):
465465
body = template.content
466466

467467
if not title and not body:

0 commit comments

Comments
 (0)