Skip to content

Commit f4b987c

Browse files
committed
Merge pull request #1517 from rtfd/fix-webhook-notification
Fix missing variable in project.tasks.webhook_notification
2 parents a6a1b8e + 69361d1 commit f4b987c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs/projects/tasks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,8 @@ def email_notification(version, build, email):
779779

780780

781781
def webhook_notification(version, build, hook_url):
782+
project = version.project
783+
782784
data = json.dumps({
783785
'name': project.name,
784786
'slug': project.slug,

0 commit comments

Comments
 (0)